available times?
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52831
interpreted = N
texte = Ok everyone I am in need of assistance. I have a meeting scheduler thatneeds to compare submited times to see if they are available.Time is submit as:s_hour - requested start hours_minutes - requested start minutee_hour - requested end houre_minutes - requested end minuteFor comparison sake we use military time so hours are 01-23We have two fields in the DB for the entered meetings:s_time - start timee_time - end timewe put the times together when submitted:[s_hour][s_minute] = 0705 (minutes are in 5 minute intervals)so what we need is this:Scheduled meetingsS_TIME - E_TIME0700 - 08001200 - 1300Requested times0730 - 0830 - fail1230 - 1330 - fail0530 - 1400 - fail - the hard one0900 - 1100 - pass1 - 3 should fail, but 4 should be accepted. So how do I compare this data?Thanks,-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Ok everyone I am in need of assistance. I have a meeting scheduler thatneeds to compare submited times to see if they are available.Time is submit as:s_hour - requested start hours_minutes - requested start minutee_hour - requested end houre_minutes - requested end minuteFor comparison sake we use military time so hours are 01-23We have two fields in the DB for the entered meetings:s_time - start timee_time - end timewe put the times together when submitted:[s_hour][s_minute] = 0705 (minutes are in 5 minute intervals)so what we need is this:Scheduled meetingsS_TIME - E_TIME0700 - 08001200 - 1300Requested times0730 - 0830 - fail1230 - 1330 - fail0530 - 1400 - fail - the hard one0900 - 1100 - pass1 - 3 should fail, but 4 should be accepted. So how do I compare this data?Thanks,-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
"WebDna @"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Case sensitivity and [showif] (1999)
Problems with [Search] param - Mac Plugin b15 (1997)
Country & Ship-to address & other fields ? (1997)
PCS Frames (1997)
WebCat2b15MacPlugin - [protect] (1997)
includes and cart numbers (1997)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
Question on the sandbox (2003)
OT: Dynamic table equivalent (2008)
IE, Layers, and Select (2002)
Searching multiple fields (1997)
WebCat2 several catalogs? (1997)
Listserver problem (1997)
Math problems (1998)
[SearchString] problem with [search] context (1997)
[TaxableTotal] - not working with AOL and IE (1997)
Re:2nd WebCatalog2 Feature Request (1996)
WebDNA and Amazon S3 (2006)