Convert system date and time
Here is an easy way to convert System Date and Time using built-in functions in just one line of code. Enjoy!
d wwTime s 6 0
d wwDate s 8 0
wwDate = %Uns(%Char(%Date:*ISO0)
wwTime = %Uns(%Char(%Time():*ISO0)
wwTime = %Uns(%Char(%
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Visit the ITKnowledge Exchange and get answers to your developing questions fast.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
This was first published in November 2004
Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.