Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 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