TIME

Contents


time returns local time in number of seconds elapsed since midnight.

 

Syntax

   time

 

Examples

   T = time
   Gosub TEMPO
   Infbox "The time set by sub-programme TEMPO is:"-num$(
time-T)

 

Description and comments

time returns local time supplied by the system as a number equivalent to 3600*hour + 60*minutes + seconds.

If the time given is wrong, ask your system administrator to correct the system time.

The result is an Integer type.

 

Associated errors

No associated error.

 

Associated key words

TIME$ - DATE$


CONTENTS


Copyright © Sage 1999 - 2007