get time

Programming related discussions related to game research
Shokoniraya
Posts: 416
Joined: Sat Sep 15, 2018 5:22 am

get time

Post by Shokoniraya »

hello, is there any way to print current date? day or time for print?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: get time

Post by aluigi »

The real question is... where?
In a C program? in Quickbms?

Quickbms can use the t0 expression with the Xmath operator to obtain the current time in seconds but it's not printable in human form:

Code: Select all

xmath VAR "t0"
print "%VAR%"