DIAdem Help

Property: SecondsFrom0000 for UsiTimeDisp

  • Updated2024-09-12
  • 1 minute(s) read

Property: SecondsFrom0000 for UsiTimeDisp

Specifies in a USITimeDisp type object the seconds since 00:00:00 o'clock on 01/01/0000.

Object.SecondsFrom0000
ObjectUsiTimeDisp
Object with this property
Object.SecondsFrom0000LongInteger with read and write access

The following example generates a date and displays the fractions of a second, the seconds since 00:00:00 o'clock on 01/01/0000, the seconds since 00:00:00 o'clock on 01/01/1904:

Dim oMyTimeObj
Set oMyTimeObj = CreateTime(2013,9,13,10,51,44,123,456,789)
Call MsgBoxDisp("Fractions: " & oMyTimeObj.Fraction & vbCrLf & "Seconds from 0000: " & oMyTimeObj.SecondsFrom0000 & _
                vbCrLf & "Seconds from 1904: " & oMyTimeObj.SecondsFrom1904)