Door Games Unlimited

Welcome, Guest.


Subject: Date format setting or system toggle options Date: Thu Jul 31 2014 23:25:16
From: echicken To: Nightfox

  Re: Date format setting or system toggle options
  By: Nightfox to echicken on Thu Jul 31 2014 19:58:08

 Ni> By the way, the ? true : false is redundant.  This should be enough to get
 Ni> a boolean value:
 Ni> var dmy = (strftime("%d/%m/%y", t) == system.datestr(t));

Indeed - didn't really give it a ton of thought (I don't normally use the
shorthand if ... else in quite that way.)

I'm trying to guess at why you want to determine the value of this setting in
the first place - figuring out how to format a field label or column heading?

---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
 ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com

Previous Message       Next Message
In Reply To: Date format setting or system toggle options (Nightfox)
Replies: Date format setting or system toggle options (Nightfox)