{"identifier":66404,"topic":"Functions","name":"time","text":"<code>the <\/code>[<i><code>adjective<\/i><\/code> ]<code> time time() <\/code> Value returned: A text string representing the current time set in your Macintosh, in one of the following time formats: <code><pre>\nthe time           -- 9:14 AM\ntime()             -- 9:14 AM\nthe abbrev time    -- 9:14 AM\nthe short time     -- 9:14 AM\nthe long time      -- 9:14:42 AM\nthe English time   -- 9:14:42 AM<\/pre><\/code> <br>\n<br>\n When HyperCard is running under System 7.1, the long, abbrev, and short forms agree with the formats set in the Date & Time Control Panel. <br><br>\n\n The form<code> the English time <\/code>returns the time in the form<code> <i>hh <\/i>:<i>mm <\/i>:<i>ss<\/i>:  AM|PM <\/code>no matter what language the system is localized for and no matter what the settings are on the Date & Time Control Panel. <br>\n","related":{"27092":null,"33535":"convert","55207":"date","63225":"seconds","66203":"ticks","50819":"wait"},"examples":"","demo":"<code><pre>on clock\n  show bkgnd field \"Demo Field\" \n  put the ticks into startTicks\n  put the seconds into startSeconds\n  repeat until the mouseClick\n    displayMessage \"The time is\" && the <b>time<\/b> & return & \u00ac\n    \"The long time is\" && the <b>long<\/b> <b>time<\/b> & return & return &\u00ac\n    the seconds - startseconds && \"seconds have elapsed.\" & return & \u00ac\n    the ticks - startTicks && \"ticks have elapsed.\" & return & return &\u00ac\n    spaces(20) & \"Click the mouse to continue . . .\"\n  end repeat\n  hide bkgnd field \"Demo Field\"\nend clock<\/pre><\/code>\n ","debug":{"9":["the [adjective ] tim"],"10":["\rWhen HyperCard is r"]}}