Absolute Time

AbsoluteTime('Time','DoSync'=FALSE)

Arguments

'Time'

Relative time to be converted

'DoSync'

Optional parameter that determines whether to align the absolute time with the starting time of the currently displayed time axis

Description

This function transforms the relative time information 'Time' (e.g. generated with XFirst, XLast or XValues) into absolute time. A vector with constant or varying entries is returned here depending on whether the input time is constant or not. The optional binary parameter 'DoSync' determines whether to align the result with the starting time of the currently displayed time axis.

The result is a vector with the following entries, which can be read out with GetRows:

  • Index 0: milliseconds

  • Index 1: seconds

  • Index 2: minutes

  • Index 3: hours

  • Index 4: day of the month

  • Index 5: month

  • Index 6: year

  • Index 7: day of the year

  • Index 8: Weekday (1=Monday, 2=Tuesday, … , 7=Sunday)

RelativeTime

RelativeTime('Year','Month','Day','Hour','Minute','Second','Millisecond'=0)

Arguments

'Year'

Year of the absolute time

'Month'

Month of the absolute time

'Day'

Day of the absolute time

'Hour'

Hour of the absolute time

'Minute'

Minute of the absolute time

'Second'

Second of the absolute time

'Millisecond'

Millisecond of the absolute time

Description

This function transforms an absolute time (e.g. generated with AbsoluteTime) into relative time, i.e. the time since the start of ibaAnalyzer in seconds. The optional parameter 'Millisecond' can increase the accuracy. The result is a constant value in the graph.