Re: [WebDNA] Need to convert unix date?
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 104198
interpreted = N
texte = Brian Fries wrote:> As my holiday gift to the list, see the attached WebDNA function > library, "brainepoch.lib".> > This library contains WebDNA functions for working with timestamps > (seconds since WebDNA zero date or 1/1/0000) and Unix Epoch (seconds > since Unix zero date of 1/1/1970).> > The functions include:> > bepVersion - Returns version code for this library release> bepFunctions - Returns list of function names supported by this library > release> bepGMTOffset - Return Hours from GMT to local time> bepSetGMTOffset - Set value of GMT Offset> bepEpochDays - Days from WebDNA epoch (1/1/0000) to Unix epoch (1/1/1970)> bepTimestamp - Seconds since WebDNA epoch (1/1/0000)> bepTimestampDate - Return Date component of a bepTimestamp value> bepTimestampTime - Return Time component of a bepTimestamp value> bepTimestampDayRange- Return search rn value for a day or range of days> bepEpoch - Seconds since Unix epoch (1/1/1970)> bepEpochDate - Return Date component of a bepEpoch value> bepEpochTime - Return Time component of a bepEpoch value> bepEpochDayRange - Return search rn value for a day or range of days> bepCartEpoch - Generate Epoch from Cart value> bepCartGMTOffset - Generate GMT Offset from current cart value> bepCartDate - Return Date, extracted from Cart ID> bepCartTime - Return Time, extracted from Cart ID> > > The source code is fairly thoroughly documented, so you can read the > comments above each function to learn how to use them appropriately.> > One part that's not obvious is that you should first (one time only) > call the "bepSetGMTOffset" function to save your system's GMT offset > preference for future use.> > Happy holidays!> > Brian Fries> BrainScan Software> > P.S. Good folks at WebDNA corp: Feel free to post this to your downloads > section.nice one Brian, thx.Donovan-- Donovan BrookeEuca Design Center[Practical-Ethical-Efficient]www.euca.usegg.bzartglass-forum.com
Associated Messages, from the most recent to the oldest:
Brian Fries wrote:> As my holiday gift to the list, see the attached WebDNA function > library, "brainepoch.lib".> > This library contains WebDNA functions for working with timestamps > (seconds since WebDNA zero date or 1/1/0000) and Unix Epoch (seconds > since Unix zero date of 1/1/1970).> > The functions include:> > bepVersion - Returns version code for this library release> bepFunctions - Returns list of function names supported by this library > release> bepGMTOffset - Return Hours from GMT to local time> bepSetGMTOffset - Set value of GMT Offset> bepEpochDays - Days from WebDNA epoch (1/1/0000) to Unix epoch (1/1/1970)> bepTimestamp - Seconds since WebDNA epoch (1/1/0000)> bepTimestampDate - Return Date component of a bepTimestamp value> bepTimestampTime - Return Time component of a bepTimestamp value> bepTimestampDayRange- Return search rn value for a day or range of days> bepEpoch - Seconds since Unix epoch (1/1/1970)> bepEpochDate - Return Date component of a bepEpoch value> bepEpochTime - Return Time component of a bepEpoch value> bepEpochDayRange - Return search rn value for a day or range of days> bepCartEpoch - Generate Epoch from Cart value> bepCartGMTOffset - Generate GMT Offset from current cart value> bepCartDate - Return Date, extracted from Cart ID> bepCartTime - Return Time, extracted from Cart ID> > > The source code is fairly thoroughly documented, so you can read the > comments above each function to learn how to use them appropriately.> > One part that's not obvious is that you should first (one time only) > call the "bepSetGMTOffset" function to save your system's GMT offset > preference for future use.> > Happy holidays!> > Brian Fries> BrainScan Software> > P.S. Good folks at WebDNA corp: Feel free to post this to your downloads > section.nice one Brian, thx.Donovan-- Donovan BrookeEuca Design Center[Practical-Ethical-Efficient]www.euca.usegg.bzartglass-forum.com
Donovan Brooke
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:
[sendmail] and [formvariables] (1997)
[sendmail] possible modification needed... (2000)
Using [Showif] tag. Mac (1997)
Version Question (2000)
PCS Customer submissions ? (1997)
RE: Missing contexts on NT (1997)
Re[2]: New syntax feedback for 4.0 (2000)
form (2002)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
How to find 100 most recent additions. (1997)
More news on 5.0 (2003)
Summing fields (1997)
Summing fields (1997)
[WebDNA] lighttpd and gzip compression with webdna? (2015)
Dynamic Pop up menu? (1997)
WebCat2 - Getting to the browser's username/password data (1997)
POST Datamissing? (1998)
authorize.net CC processing (was WC on Mac OS X or Mac OS (2001)
I think I found a bug (2001)
Searching multiple fields (1997)