Subj : Date format setting or system toggle options
To   : echicken
From : Nightfox
Date : Thu Jul 31 2014 07:56 pm

 Re: Date format setting or system toggle options
 By: echicken to Nightfox on Thu Jul 31 2014 13:17:37

ec> Or perhaps better:

ec> var t = time();
ec> var dmy = (strftime("%d/%m/%y", t) == system.datestr(t)) ? true : false;

ec> Which is probably overly cautious, and you could just do:

ec> var dmy = (strftime("%d/%m/%y") == system.datestr()) ? true : false;

Thanks.  :)

Nightfox

---
� Synchronet � Digital Distortion BBS - digitaldistortionbbs.com