Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/System-time/Icon/system-time.icon
Normal file
11
Task/System-time/Icon/system-time.icon
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
procedure main()
|
||||
|
||||
write("&time - milliseconds of CPU time = ",&time)
|
||||
write("&clock - Time of day as hh:mm:ss (24-hour format) = ",&clock)
|
||||
write("&date - current date in yyyy/mm/dd format = ",&date)
|
||||
write("&dateline - timestamp with day of the week, date, and current time to the minute = ",&dateline)
|
||||
|
||||
if find("Unicon",&version) then
|
||||
write("&now - time in seconds since the epoch = ", &now) # Unicon only
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue