loveubaan
29th March 2007, 14:02
:confused: :confused: :confused:

Is there any way to get time in HHMMSSdd format ......
where

HH = Hour
MM =Minutes
SS= Seconds
dd= 0 -99 (100 constitutes 1 sec.)

just like functioning of Stop Watch .

Thanks in Advance..
Regards,
Sumeet

george7a
29th March 2007, 14:13
Hi,

Try to use the time.num() function (http://www.baanboard.com/programmers_manual_baanerp_help_functions_date_time_zones_time_num). However, this will not give you the "dd".

Let me know if it helps,

- George

loveubaan
30th March 2007, 07:20
Thanks for reply......


I m aware of time.num().This nreturn nimber of seconds since 00:00 only.


Regards,
Sumeet

george7a
30th March 2007, 08:59
Hi,

Using that function you can get the time in the format you want. Check the following posts for some examples:
http://www.baanboard.com/baanboard/showthread.php?t=30507&highlight=HHMMSS
http://www.baanboard.com/baanboard/showthread.php?t=1823&highlight=HHMMSS
http://www.baanboard.com/baanboard/showthread.php?t=8800&highlight=HHMMSS

I hope it helps,

- George

loveubaan
5th April 2007, 09:27
HHMMSSdd format is basically time format of a stop watch

eg:
01:15:30:84
HH:MM:SS:dd

time.num() function doesn't help in this case.


thanks for your help.

Regards,
Sumeet

günther
5th April 2007, 16:33
There is a function mtime() that delivers milliseconds, but not as an absolute value. This function is pretty good to measure time. So maybe it could be useful for your requirements.

günther