Creates a timestamp from a set of individual values that specify a date and time.

Use the To Double Precision Float function to convert the timestamp value to a lower precision, floating-point number. The number is measured as the number of seconds that have elapsed since 12:00 a.m., Friday, January 1, 1904, Universal Time, assuming DST is set to 1.


icon

Inputs/Outputs

  • cnclst.png date time rec

    date time rec is the date and time to convert. If is UTC is TRUE, date time rec is in Universal Time. If is UTC is FALSE, date time rec is in the configured time zone for the computer.

  • cdbl.png fractional second

    fractional second must be greater than or equal to 0 and less than 1.

  • ci32.png second

    second can be from 0 to 59.

  • ci32.png minute

    minute can be from 0 to 59.

  • ci32.png hour

    hour can be from 0 to 23.

  • ci32.png day of month

    day of month can be from 1 to 31.

  • ci32.png month

    month can be from 1 to 12.

  • ci32.png year

    year can be from 1600 to 3000.

  • ci32.png day of week

    day of week can be from 1 to 7, which correspond to Sunday and Saturday, respectively.

    Note This function ignores day of week when building the timestamp.
  • ci32.png day of year

    day of year can be from 1 to 366.

    Note This function ignores day of year when building the timestamp.
  • ci32.png DST

    DST indicates whether the time is standard (0) or daylight savings time (1). You also can set DST to -1 to have the VI determine the correct time automatically each time you run the VI. If is UTC is TRUE, the function ignores the DST setting and uses Universal Time.

  • cbool.png is UTC (F)

    is UTC specifies if date time rec is in Universal Time or in the configured time zone for the computer. If TRUE, date time rec is in Universal Time. The default is FALSE.

  • iatrn.png time stamp

    time stamp is the time that represents the date and time specified by the individual values in date time rec.

    If year and month are out of range, the results are unpredictable.