Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== DOSTIME===== ^Published By^Date^Version^Knowledge Level^Keywords^ |Revelation Technologies|14 NOV 1989|2.X|EXPERT|DOSTIME| ==== DOSTIME ==== DOSTIME returns the current time in seconds, accurate to 1/100th of a second. <code> DOSTIME(seconds) </code> ==== Using DOSTIME ==== Use DOSTIME to return the current time in seconds, in which form Advanced Revelation keeps track of daily time. You can use the resulting value of seconds to calculate time passed, or you can use an Advanced Revelation function like OCONV to convert that internal value to a more human readable form. === seconds === Use seconds to return the current time in seconds past midnight. ==== Values returned ==== The current time, in seconds, is returned in seconds. ==== Correct Use of DOSTIME ==== <code> /* The following code uses DOSTIME to return the current time in the variable SECONDS. Then, it uses the system function OCONV to convert that internal seconds format into a standard 24-hour clock value. /* DECLARE SUBROUTINE DOSTIME, MSG DOSTIME(time) MSG("The current time is ":OCONV(time, "MTS") END;* of program </code> tips/revmedia/subs7.txt Last modified: 2024/06/19 20:20by 127.0.0.1