## Date And Time

As SM32 evolved many Date and Time functions have been added. They are summarized below:
[For the Date/Time Nov. 4 2003 09:45:25]
[Note SETTIME and SETDAY do not change the sytem clock but maintain TIME/DAY differnce variables that affect these functions]

    DAY                 A$=DAY            A$ = "11/04/03"
    TIME                A=TIM             A  = 9.75
    GET DAY             A$=GDY            A$ = "20031104"
    GET Time Of DAY     A$=GTD            A$ = "094525"
    BBX DATE            A$=DATE(0)        A$ = "11/04/03"
    Julian Day #        A=JUL(2003,11,4)  A  = 2452948
    Date to #           A=CDN("110403")   A  = 13092
    # to Date           A$=CND(13092)     A$ = "110403"
    Date to #           A=FDY("20031104") A  = 13092
    # to Date           A$=CDY(13092)     A$ = "20031104"
    Time to Double Sec  A=FTD("094525")   A  = 17563
    Double Sec to Time  A$=CTD(17563)     A$ = "094524"
    Date                A$=DAT            A$ = "200311040945"
    Date                A$=DAS            A$ = "20031104094525"
    Date + Seconds      A$=DTO("20031104094525",120) A$ = "20031104094725"

The WINDOWS version also has a Network version of DAS where the time is obtained from a server instead of the local PC. It is only available under Windows NT (2000,XP,2003) NOT under Windows 95 (98,Milenium).

    Date                A$=NETDAS("\\MYSERVER")   A$ = "20031104094525"