Difference between revisions of "GetTime Command"

From GeoGebra Manual
Jump to: navigation, search
m (1 revision: last commands)
(added missing description)
Line 2: Line 2:
 
{{command|scripting}}
 
{{command|scripting}}
 
;GetTime[]
 
;GetTime[]
:{{description}}
+
: Returns a list such as ''{647, 59, 39, 23, 28, 2, 2011, "February", "Monday", 2}'', ie the current date and time in this order:
 +
: milliseconds, seconds, minutes, hours (0-23), date, month (1-12), year, month (as text), day (as text), day (1 = Sunday, 2 = Monday, etc)

Revision as of 11:52, 7 April 2011



GetTime[]
Returns a list such as {647, 59, 39, 23, 28, 2, 2011, "February", "Monday", 2}, ie the current date and time in this order:
milliseconds, seconds, minutes, hours (0-23), date, month (1-12), year, month (as text), day (as text), day (1 = Sunday, 2 = Monday, etc)
© 2024 International GeoGebra Institute