« Return to Thread: 4D Newbie, time question

Re: 4D Newbie, time question

by Douglas Davis-2 :: Rate this Message:

Reply to Author | View in Thread

You would use the function:  Time String - which returns the time in the
format of HH:MM:SS

`Add this below your time command
TextTime:=Time string(va)
Hours:=num(substring(TextTime;1;2))
Minutes:= num(substring(TextTime;4;2))
Seconds:= num(substring(TextTime;7;2))

This assumes you want the numeric equivalents and not just the text.
--
|  Douglas S. Davis - Information Systems Coordinator
|  Monical Pizza Corporation  (http://www.monicals.com)
| - - - - - - - - - -
|  815/937-1890 - Voice  .  .  .  815/937-9828 - Fax
--





**********************************************************************
4D Basics hosted by 4D, Inc.                       http://www.4D.com/

Register for 4D Summit 2009 Today
Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                        mailto:4DBasics-off@...
**********************************************************************


 « Return to Thread: 4D Newbie, time question