nasm/test/time.asm
H. Peter Anvin 6b18bcce46 BR 774131: date and time macros
This checkin creates the following date and time macros:

__DATE__, __TIME__, __UTC_DATE__, __UTC_TIME__: strings

__DATE_NUM__, __TIME_NUM__, __UTC_DATE_NUM__, __UTC_TIME_NUM__:
civil dates in digit-string formats

__POSIX_TIME__: time in POSIX time_t format
2008-02-16 14:54:10 -08:00

11 lines
196 B
NASM

db __DATE__, 13, 10
db __TIME__, 13, 10
db __UTC_DATE__, 13, 10
db __UTC_TIME__, 13, 10
align 4
dd __DATE_NUM__
dd __TIME_NUM__
dd __UTC_DATE_NUM__
dd __UTC_TIME_NUM__
dd __POSIX_TIME__