Re: [WebDNA] Using UNIX timestamps for dates/times
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 106753
interpreted = N
texte = --bcaec55238a4ffccef04a5c0c8a5Content-Type: text/plain; charset=UTF-8Ken / Govinda,Thanks for the feedback. Sometimes I need use date/time calculations -i.e. how much time has passed since a page refresh - and if the periodpasses over midnight for example then a seconds_since method of storagemakes sense.I also have some clients who want to embargo the release of content until acertain date and time - again a seconds since approach would make searcheseasier here.Anyhow before I dive into this I just wanted to see what others were doing.Take care- Tom--bcaec55238a4ffccef04a5c0c8a5Content-Type: text/html; charset=UTF-8Content-Transfer-Encoding: quoted-printableKen / Govinda,
Thanks for the feedback. =C2=A0 Sometimes= I need use date/time calculations - i.e. how much time has passed since a =page refresh - and if the period passes over midnight for example then a se=conds_since method of storage makes sense.
I also have some clients who want to embargo the =release of content until a certain date and time - again a seconds since ap=proach would make searches easier here.
Anyhow bef=ore I dive into this I just wanted to see what others were doing.
Take care
- Tom
--bcaec55238a4ffccef04a5c0c8a5--
Associated Messages, from the most recent to the oldest:
--bcaec55238a4ffccef04a5c0c8a5Content-Type: text/plain; charset=UTF-8Ken / Govinda,Thanks for the feedback. Sometimes I need use date/time calculations -i.e. how much time has passed since a page refresh - and if the periodpasses over midnight for example then a seconds_since method of storagemakes sense.I also have some clients who want to embargo the release of content until acertain date and time - again a seconds since approach would make searcheseasier here.Anyhow before I dive into this I just wanted to see what others were doing.Take care- Tom--bcaec55238a4ffccef04a5c0c8a5Content-Type: text/html; charset=UTF-8Content-Transfer-Encoding: quoted-printableKen / Govinda,
Thanks for the feedback. =C2=A0 Sometimes= I need use date/time calculations - i.e. how much time has passed since a =page refresh - and if the period passes over midnight for example then a se=conds_since method of storage makes sense.
I also have some clients who want to embargo the =release of content until a certain date and time - again a seconds since ap=proach would make searches easier here.
Anyhow bef=ore I dive into this I just wanted to see what others were doing.
Take care
- Tom
--bcaec55238a4ffccef04a5c0c8a5--
Tom Duke
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:
WCS Newbie question (1997)
WebCat2 - storing unformatted date data? (1997)
WebCat vs. ASP (1999)
[sendmail] and [formvariables] (1997)
PCS search results page (1998)
Re:2nd WebCatalog2 Feature Request (1996)
WebCatalog can't find database (1997)
Webstar 1.3.1 PPC (1997)
test (2005)
stumped on simple sort (1999)
Size/Color Options (2002)
Weird bug, or is there something amiss? (1997)
Press Release hit the NewsWire!!! (1997)
Help with (2003)
Default contains WEBDNA (1998)
[showif] and equality (1998)
Writefile help needed (2000)
totals (1997)
Am I going senile? (Price recalc based on quantity) (1997)
Caching [include] files ... (1997)