|
|
On 25/07/2021 10:33, jr wrote:
> just to confirm, this works on all Linux systems I have access to, incl a Debian
> VM with (oldest) POV-Ray-3.7.0.8.
Ok on Mac.
#declare DateString = datetime(now,"%s");
#debug concat("DateString = ",DateString,"\n")
#declare DateNum = val(datetime(now,"%s"));
#debug concat("DateNum = ",str(DateNum,0,0),"\n")
#declare LongDateString = datetime(now,"%A %e %B %Y %H:%M:%S");
#debug concat("LongDateString = ", LongDateString,"\n")
Result :
DateString = 1627201022
DateNum = 1627201022
LongDateString = Sunday 25 July 2021 10:17:02
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
|
|