Time Format Question

2003-04-04 Thread Randell B Adkins
ok I have a field which allows a user to enter a time format MASK to be used when displaying time on a website. Example: user enters: H:MM:SS TT This is a proepr formatting mask for TIMEFORMAT. However if a user enters: NOTIMEFORMAT or something stupid and off the wall, the timeformat functio

Time Format Question

2003-04-04 Thread lee
All responses to this thread have been pretty much on the mark and helpful (I always love regex answers, but that's me...) But more to the point: Why are USERS of the system allowed to set the formatting of dates EXPLICITLY? Sure, give them a default/several defaults to select, and then some op

RE: Time Format Question

2003-04-04 Thread Mosh Teitelbaum
] WWW: http://www.evoch.com/ > -Original Message- > From: Randell B Adkins [mailto:[EMAIL PROTECTED] > Sent: Friday, April 04, 2003 2:03 PM > To: CF-Talk > Subject: Time Format Question > > > ok I have a field which allows a user to enter a > time format MASK

RE: Time Format Question

2003-04-04 Thread Ryan Emerle
Why don't you just check to make sure the mask contains only the chars: "h,H,m,M,s,S,t,T,:" (or whatever the time chars are). -R -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 2:03 PM To: CF-Talk Subject: Time Format Quest

RE: Time Format Question

2003-04-04 Thread Barney Boisvert
PIER System, Inc.) [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351 www.audiencecentral.com > -Original Message- > From: Randell B Adkins [mailto:[EMAIL PROTECTED] > Sent: Friday, April 04, 2003 11:03 AM > To: CF-Talk > Subject: Time Format Question > >

RE: Time Format Question

2003-04-04 Thread Randell B Adkins
chars: "h,H,m,M,s,S,t,T,:" (or whatever the time chars are). -R -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 2:03 PM To: CF-Talk Subject: Time Format Question ok I have a field which allows a user to enter a time format MASK to b

RE: Time Format Question

2003-04-04 Thread Ryan Emerle
2:21 PM To: CF-Talk Subject: RE: Time Format Question Cause the field does not need to have all those characters. Trying to rule out someone putting in something that is not part of the proper Time Mask paramters >>> [EMAIL PROTECTED] 04/04/03 02:15PM >>> Why don'

RE: Time Format Question

2003-04-04 Thread Barney Boisvert
entral.com > -Original Message- > From: Ryan Emerle [mailto:[EMAIL PROTECTED] > Sent: Friday, April 04, 2003 11:28 AM > To: CF-Talk > Subject: RE: Time Format Question > > > Right, so make sure that the chars entered are part of the list > of acceptable chars? They d

RE: Time Format Question

2003-04-04 Thread Randell B Adkins
essage- > From: Ryan Emerle [mailto:[EMAIL PROTECTED] > Sent: Friday, April 04, 2003 11:28 AM > To: CF-Talk > Subject: RE: Time Format Question > > > Right, so make sure that the chars entered are part of the list > of acceptable chars? They don't all need to be there,

RE: Time Format Question

2003-04-04 Thread Ryan Emerle
Oh good lord: REFindNoCase("[^tmhs: ]",string) -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 3:01 PM To: CF-Talk Subject: RE: Time Format Question Not trying to strip out the character, I just need to know if the TIME MASK t

Re: Time Format Question

2003-04-04 Thread S . Isaac Dealey
> All responses to this thread have been pretty much on the > mark and helpful (I always love regex answers, but that's > me...) > But more to the point: Why are USERS of the system allowed > to set the formatting of dates EXPLICITLY? > Sure, give them a default/several defaults to select, and >

Re: Time Format Question

2003-04-04 Thread Jim McAtee
I've seen similar things implemented elsewhere. It should begin with a default and have a very brief explanation, or else a help link. Sure, the user can screw up the look of the output, but so long as you control it to the point of not allowing them to create errors when the code executes, it sh