[rt-users] Passing date variables as dates from the CLI

Josh Narins jnarins at seniorbridge.com
Wed Jan 26 22:21:19 EST 2011



1/1/2011 is unambiguous whether we are in Europe or America.

1/2/2011 is not.

xxxx-xx-xx is "always (everywhere I have ever seen., or hope to see)" yyyy-mm-dd.


From: Chris Herrmann [mailto:chris.herrmann at faredge.com.au]
Sent: Wednesday, January 26, 2011 10:18 PM
To: Josh Narins
Cc: rt-users at lists.bestpractical.com <rt-users at lists.bestpractical.com>
Subject: RE: [rt-users] Passing date variables as dates from the CLI

But dd/mm/yyyy also works – $startdate works for example. Or if you type “1/1/2011” this will work, which doesn’t have the leading zero.

Regards,

Chris Herrmann
Far Edge Technology

p. 02 84251400
m. 0403 393309
http://www.faredge.com.au

From: Josh Narins [mailto:jnarins at seniorbridge.com]
Sent: Thursday, 27 January 2011 14:14
To: Chris Herrmann; 'rt-users at lists.bestpractical.com'
Subject: Re: [rt-users] Passing date variables as dates from the CLI


yyyy-mm-dd works, but you'll want(need?) leading zeroes for mm and dd.




Josh Narins
Director of Application Development

SeniorBridge
845 Third Ave
7th Floor
New York, NY 10022
Tel: (212) 994-6194
Fax: (212) 994-4260
Mobile: (917) 488-6248
jnarins at seniorbridge.com
seniorbridge.com<http://www.seniorbridge.com/>

[http://www.seniorbridge.com/images/seniorbridgedisclaimerTAG.gif]


________________________________
SeniorBridge Statement of Confidentiality: The contents of this email message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. Any dissemination, distribution or copying of this email by an unintended or mistaken recipient is strictly prohibited. In said event, kindly reply to the sender and destroy all entries of this message and any attachments from your system. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110126/7a924f10/attachment.htm>


More information about the rt-users mailing list