System time: Difference between revisions
m
→{{header|Mathematica}}
Line 1,396:
</lang>
=={{header|Mathematica}}/{{header|Wolfram Language}}==
Different ways of doing this, here are 2 most common:<lang Mathematica>Print[DateList[]]
Print[AbsoluteTime[]]</lang>DateList will return the list {year,month,day,hour,minute,second} where all of them are integers except for second; that is a float. AbsoluteTime gives the total number of seconds since january 1st 1900 in your time zone.
|