Don't think that this is useful because TimeValue objects has a couple of more attributes. This funktion should convert a