Date conversion
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 41682
interpreted = N
texte = Hi group, I have an imported db that has a field [Event Date] and it is inthe format yyyymmdd.I know I can use:[text]yyyy=[getchars start=1&end=4][Event Date][/getchars][/text][text]mm=[getchars start=5&end=6][Event Date][/getchars][/text][text]dd=[getchars start=7&end=8][Event Date][/getchars][/text][text]convDate=[mm]/[dd]/[yyyy][/text]to get my mm/dd/yyyy format, but I'm trying to use date comparisons fromdrop downs on the previous page.Using:[math date]from_date={[Smonth]/[Sday]/[Syear]}[/math][math date]to_date={[Emonth]/[Eday]/[Eyear]}[/math]My search is as follows, but I'm not sure how to get it to work with thesearch. Please help.[search db=eparchive.db&[search_string]=search_string&eqcreatedrq=[created]&rnEventDatedatarq=[formatdays_to_date][from_date][/format] [formatdays_to_date][to_date][/format]&Event Datetype=date]]TIA======================================Cheers!Ken MacMurchyweb developeremail: ken.macmurchy@leaderpost.comweb: http://www.leaderpost.com306-565-82991964 Park St.Regina, SK, CanadaS4P 3G4-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hi group, I have an imported db that has a field [Event Date] and it is inthe format yyyymmdd.I know I can use:[text]yyyy=[getchars start=1&end=4][Event Date][/getchars][/text][text]mm=[getchars start=5&end=6][Event Date][/getchars][/text][text]dd=[getchars start=7&end=8][Event Date][/getchars][/text][text]convDate=[mm]/[dd]/[yyyy][/text]to get my mm/dd/yyyy format, but I'm trying to use date comparisons fromdrop downs on the previous page.Using:[math date]from_date={[Smonth]/[Sday]/[Syear]}[/math][math date]to_date={[Emonth]/[Eday]/[Eyear]}[/math]My search is as follows, but I'm not sure how to get it to work with thesearch. Please help.[search db=eparchive.db&[search_string]=search_string&eqcreatedrq=[created]&rnEventDatedatarq=[formatdays_to_date][from_date][/format] [formatdays_to_date][to_date][/format]&Event Datetype=date]]TIA======================================Cheers!Ken MacMurchyweb developeremail: ken.macmurchy@leaderpost.comweb: http://www.leaderpost.com306-565-82991964 Park St.Regina, SK, CanadaS4P 3G4-------------------------------------------------------------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://search.smithmicro.com/
Ken MacMurchy
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:
[/application] error? (1997)
WC2b15 File Corruption (1997)
SET (1998)
Nesting format tags (1997)
Date Question (2002)
Shopping problems with 2.1b3 acgi (1997)
Online reference (1997)
no time stamp & different times from emailer (1998)
A dynamic database. (1997)
Search or Lookup before Append (1998)
Re:need help please (1997)
Drop Down Menus (2002)
[delete] problem (1997)
Weird problems with [SHOWIF]s (1997)
Process SSI and WebCatalog.acgi (1998)
Major problem SOLVED! (1999)
PROTECT PAGES (2002)
2.0 Info (1997)
emailer w/F2 (1997)
2nd WebCatalog2 Feature Request (1996)