Restored from previous forum. Originally posted by cor.
Searched the forum but could not find.
Start displaying realtime
mm:sec:msec
starting from 00:00:00
or with a predefined time like 01:20:03
when pressed e.g a button get the time elapsed from starting or predefined time
Thanks
Using Windows 98 SE
Registered PB version : 3.40 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
Display mm:sec:msec and get time elapsed?
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
> get the time elapsed from starting or predefined time
This doesn't do milliseconds, so it probably doesn't help you much:
> get the time elapsed from starting or predefined time
This doesn't do milliseconds, so it probably doesn't help you much:
Code: Select all
TimeStart=Date(2002,12,30,12,00,00) ; 12:00 pm on Dec 30, 2002.
TimeStop =Date(2002,12,30,13,30,00) ; 1:30 pm on Dec 30, 2002.
;
; Elapsed time should be 1 hr 30 min, so let's see! :)
;
Debug FormatDate("%hh:%ii:%ss",TimeStop-TimeStart)