mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 18:52:07 +00:00
Implement numeric time and date constants
This commit is contained in:
@@ -521,6 +521,12 @@ The following symbols are defined by the assembler:
|
||||
.It Ic EQUS Ta Ic __TIME__ Ta Ta The current time
|
||||
.It Ic EQUS Ta Ic __ISO_8601_LOCAL__ Ta ISO 8601 timestamp (local)
|
||||
.It Ic EQUS Ta Ic __ISO_8601_UTC__ Ta ISO 8601 timestamp (UTC)
|
||||
.It Ic EQU Ta Ic __UTC_YEAR__ Ta Ta Today's year
|
||||
.It Ic EQU Ta Ic __UTC_MONTH__ Ta Ta Today's month number, 1-12
|
||||
.It Ic EQU Ta Ic __UTC_DAY__ Ta Ta Today's day of the month, 1-31
|
||||
.It Ic EQU Ta Ic __UTC_HOUR__ Ta Ta Current hour, 0-23
|
||||
.It Ic EQU Ta Ic __UTC_MINUTE__ Ta Ta Current minute, 0-59
|
||||
.It Ic EQU Ta Ic __UTC_SECOND__ Ta Ta Current second, 0-59
|
||||
.El
|
||||
.Pp
|
||||
.Sh DEFINING DATA
|
||||
|
||||
Reference in New Issue
Block a user