Re: is a date broke

2007-05-02 Thread Robert Presender
On May 2, 2007, at 5:00 AM, Chipp Walters wrote: How come when you put in the msg box: put 01/01/01 are you kidding me is a date you get true? Am I missing something? How do you validate a date entry? Hi Chipp, Using Mac 10.3.9, Rev 2.8.1- dp-2/3, Note: dp-1 only allows a 2 numbered

Re: is a date broke

2007-05-02 Thread Chipp Walters
Thanks Bob, That'll do! Hope all is well in LV. -c ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

is a date broke?

2007-05-01 Thread Chipp Walters
How come when you put in the msg box: put 01/01/01 are you kidding me is a date you get true? Am I missing something? How do you validate a date entry? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe,

Re: is a date broke?

2007-05-01 Thread Jim Ault
Check out Sarah's page http://troz.net/Rev/libraries.php Date time stack Jim Ault Las Vegas On 5/1/07 1:56 PM, Chipp Walters [EMAIL PROTECTED] wrote: How come when you put in the msg box: put 01/01/01 are you kidding me is a date you get true? Am I missing something? How do you

Re: is a date broke?

2007-05-01 Thread Chipp Walters
Thanks Jim, I don't see anything there which can help me: If I try the numericDate function: put numericDate(01/01/01 hello dog) I get: 01/01/01 hello dog00 Any other ideas? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit

Re: is a date broke?

2007-05-01 Thread Jim Ault
I guess I would start with a couple assumptions: filter with */*/* -- is not empty collect a string that contains only the valid date chars /-0123456789 decide if spaces end the loop (eg word 1, 2, 3) --perhaps repeat for each word WRD --until at least d/d/dd was found, then exit repeat or

Re: is a date broke?

2007-05-01 Thread Richard Gaskin
Chipp wrote: Thanks Jim, I don't see anything there which can help me: If I try the numericDate function: put numericDate(01/01/01 hello dog) I get: 01/01/01 hello dog00 Any other ideas? That's a bug: 2001 was the Year of the Snake. The most recent Year of the Dog was 2006. Other

Re: is a date broke?

2007-05-01 Thread Peter T. Evensen
The beta of 2.8.1 returns false. Chipp Walters wrote: How come when you put in the msg box: put 01/01/01 are you kidding me is a date you get true? Am I missing something? How do you validate a date entry? ___ use-revolution mailing list

Re: is a date broke?

2007-05-01 Thread Peter T. Evensen
Should * 01-01-01 is a date* return true? Chipp Walters wrote: How come when you put in the msg box: put 01/01/01 are you kidding me is a date you get true? Am I missing something? How do you validate a date entry? ___ use-revolution mailing list

Re: is a date broke?

2007-05-01 Thread Chipp Walters
Looks like I should wait for 2.8.1 to go golden then. Jim, yeah, I was trying NOT to have to hand craft an isDate() function. Thanks all-- though it appears Richard's tongue is certainly pressed firm against his cheek. -Chipp ___ use-revolution

Re: is a date broke?

2007-05-01 Thread Jim Ault
On 5/1/07 2:33 PM, Peter T. Evensen [EMAIL PROTECTED] wrote: Should * 01-01-01 is a date* return true? A lot of databases and spreadsheets use - as a valid date separator, so considering these data sources, this would make sense. Of course, in Rev 01-01 would be 1 - 1 which is 0. in

Re: is a date broke?

2007-05-01 Thread Sarah Reichelt
On 5/2/07, Chipp Walters [EMAIL PROTECTED] wrote: How come when you put in the msg box: put 01/01/01 are you kidding me is a date you get true? Am I missing something? How do you validate a date entry? Under 2.8.1-dp-1, is a date was rejecting too much. Under dp-2 3, it hardly rejects

Re: is a date broke?

2007-05-01 Thread Chipp Walters
Sarah, Do you have any date validator functions laying around. If so, could you pour me a cupful? Thanks ;-) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: is a date broke?

2007-05-01 Thread Sarah Reichelt
On 5/2/07, Chipp Walters [EMAIL PROTECTED] wrote: Sarah, Do you have any date validator functions laying around. If so, could you pour me a cupful? Thanks ;-) Hi Chipp, Here is one I use sometimes. If the supplied date is OK, it returns that date as a short date but with the year as 4