× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



No. But why are you using numerics for dates and times and why are you
still using MOVE? And why are you using a program that needs two
parameters: System time and date, and system date?


D sysdatetime S Z
D systime s t
D sysdate s d
D Month s 5i 0
D Day s 5i 0
D Year s 5i 0
D hh s 5i 0
D mm s 5i 0
D ss s 5i 0
D NumberDate s 8p 0
/free
*inlr=*on;
sysdatetime=%timestamp(); // retrieve current timestamp
systime=%time(sysdatetime); // get time part of timestamp
sysdate=%date(sysdatetime); // get date part of timestamp
Month=%subdt(sysdatetime : *months);
Day=%subdt(sysdatetime : *days);
Year=%subdt(sysdatetime : *years); // yyyy
hh=%subdt(sysdatetime : *hours);
mm=%subdt(sysdatetime : *minutes);
ss=%subdt(sysdatetime : *seconds);
NumberDate=%dec(sysdate); // yyyymmdd
return;
/end-free

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.