Table Of Contents

Get Date and Time String (G Dataflow)

Version:
    Last Modified: January 19, 2017

    Converts a timestamp value or a number of seconds to a date and time string in the time zone configured for the computer.

    This node converts a numeric input into a date and time string by interpreting it as the time-zone-independent number of seconds that have elapsed since 12:00 a.m. on January 1, 1904, Universal Time.

    connector_pane_image
    datatype_icon

    date format

    Appearance of the date string.

    Date formats vary with your system configuration. To use a different date format, use Format Date and Time String.

    Name Description
    short

    Example: 1/21/94

    long

    Example: Friday, January 21, 1994

    abbreviated

    Example: Fri, Jan 21, 1994

    Default: short

    datatype_icon

    timestamp

    The time that you want to convert.

    The year in this timestamp must be between 1600 and 3000.

    If you wire a numeric value to this input, the node interprets the number as the time-zone-independent number of seconds that have elapsed since 12:00 a.m. on January 1, 1904, Universal Time [01-01-1904 00:00:00]. The node interprets a negative number as the number of seconds before this time.

    Default: The current date and time

    datatype_icon

    show seconds?

    Boolean that controls the display of seconds in the time string.

    True Includes seconds in time string
    False Does not include seconds in time string

    Default: False

    datatype_icon

    date string

    String of the date from timestamp formatted according to the specified date format.

    datatype_icon

    time string

    String of the time from timestamp formatted according to the configured time zone for your computer.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: DAQExpress does not support FPGA devices


    Recently Viewed Topics