Subj : Date format setting or system toggle options
To : echicken
From : Nightfox
Date : Thu Jul 31 2014 07:58 pm
Re: Date format setting or system toggle options
By: Nightfox to echicken on Thu Jul 31 2014 19:56:10
ec>> var t = time();
ec>> var dmy = (strftime("%d/%m/%y", t) == system.datestr(t)) ? true :
ec>> false;
Ni> Thanks. :)
By the way, the ? true : false is redundant. This should be enough to get a
boolean value:
var dmy = (strftime("%d/%m/%y", t) == system.datestr(t));
Nightfox
---
� Synchronet � Digital Distortion BBS - digitaldistortionbbs.com