Re: math on date?
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12633
interpreted = N
texte = >Display ANOTHER time zone and date based on the server's time and date>>Solution:>=================>Add xx hours to a date and then display the results as a date.>>This is easy with time, but I can't figure out how to do it with a date.You mean you want the date to 'roll over' when the number of hours exceeds 24 greater than the date in question? I believe we can't mix dates and times into the same math context by simply adding {[date]}+{[time]}, so for now you will probably have to get creative with some [time %H] and math equations on your own.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>Display ANOTHER time zone and date based on the server's time and date>>Solution:>=================>Add xx hours to a date and then display the results as a date.>>This is easy with time, but I can't figure out how to do it with a date.You mean you want the date to 'roll over' when the number of hours exceeds 24 greater than the date in question? I believe we can't mix dates and times into the same math context by simply adding {
[date]}+{
[time]}, so for now you will probably have to get creative with some [time %H] and math equations on your own.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
RE: [WebDNA] [OT] potential cheap WebDNA server? (2009)
Summary search -- speed (1997)
Getting Total Quantity (1997)
Grep question [parsing variables] problem (2003)
Closing Databases (take 2) (1998)
php vs WebCatalog (2000)
Problem (1997)
Looking up two prices in Formulas.db (1997)
Sendmail Excel attachment (2003)
Shownext never shows next...still (1997)
Practical Uses (2003)
Date problems (1997)
Forum - Test Request (2005)
Document Contains No Data! (1997)
Showif Context combined with Search (1997)
RE: Contexts and Ampersands (1997)
autosensing lanague selection (1997)
Merging databases (1997)
E-mailer application times out (1998)
[Sum] function? (1997)