Re: [WebDNA] Anyone have a unix epoch converter?

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112976
interpreted = N
texte = 563 --Apple-Mail=_E18F7332-853E-4C45-9928-B5AFF5FC210D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 The function you are using is looking for seconds. The number you are = using is in milliseconds. So divide by 1000. This seems to produce the = correct result, adjusted with the default -7 time zone: [bepEpochDate epoch=3D[math]1472732506000/1000[/math]&dateFormat=3D%m/%d/%= y] @ [format Seconds_To_Time][bepEpochTime = epoch=3D[math]1472732506000/1000[/math]][/Format] 09/01/16 @ 05:21:46 > On Sep 9, 2016, at 4:43 PM, Michael Davis wrote: >=20 > Hi Olin, >=20 > 1472732506000 unix epoch converted to date is 01/14/48639 @ 2:46am, so = I'm suspecting your results not seeming to work may stem from that. >=20 > If I take the last three digits (the zeros) off of your number and run = it through the same function, I get 09/01/16, which is probably what you = were expecting. >=20 > [bepEpochDate epoch=3D1472732506&dateFormat=3D%m/%d/%y] >=20 >=20 > Mike >=20 >=20 >=20 >> On Sep 5, 2016, at 10:28 AM, Olin Lagon > wrote: >>=20 >> Hey guys, >>=20 >> For a unix epoch date like 1472732506000, does anyone have a = converter that can convert this to a date in WebDNA? I tried = http://www.webdna.us/page.dna?numero=3D296 = but it doesn't seem to = work. >>=20 >> This >>=20 >> [bepEpochDate epoch=3D1472732506000&dateFormat=3D%m/%d/%y] >>=20 >> Returns this >>=20 >> 575/-28409/29 >>=20 >> Thanks! Olin >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_E18F7332-853E-4C45-9928-B5AFF5FC210D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 The function you are using is looking for seconds.  The = number you are using is in milliseconds.  So divide by 1000. =  This seems to produce the correct result, adjusted with the = default -7 time zone:

[bepEpochDate = epoch=3D[math]1472732506000/1000[/math]&dateFormat=3D%m/%d/%y] @ = [format Seconds_To_Time][bepEpochTime = epoch=3D[math]1472732506000/1000[/math]][/Format]

09/01/16 @ 05:21:46


On Sep 9, 2016, at 4:43 PM, = Michael Davis <admin@network13.net> wrote:

Hi Olin,

1472732506000 unix epoch = converted to date is 01/14/48639 @ 2:46am, so I'm suspecting your = results not seeming to work may stem from that.

If I take the last three digits (the = zeros) off of your number and run it through the same function, I get = 09/01/16, which is probably what you were expecting.

[bepEpochDate = epoch=3D1472732506&dateFormat=3D%m/%d/%y]


Mike



On Sep 5, 2016, at 10:28 AM, Olin Lagon = <olin.lagon@gmail.com> wrote:

Hey guys,

For a unix epoch date like 1472732506000, does anyone have a converter=20= that can convert this to a date in WebDNA? I tried=20 http://www.webdna.us/p= age.dna?numero=3D296 but it doesn't seem to work.

This

[bepEpochDate epoch=3D1472732506000&dateFormat=3D%m/%d/%y]

Returns this

575/-28409/29
=
Thanks! Olin
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_E18F7332-853E-4C45-9928-B5AFF5FC210D-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Anyone have a unix epoch converter? (Michael Davis 2016)
  2. Re: [WebDNA] Anyone have a unix epoch converter? (Michael Davis 2016)
  3. [WebDNA] Anyone have a unix epoch converter? (Olin Lagon 2016)
563 --Apple-Mail=_E18F7332-853E-4C45-9928-B5AFF5FC210D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 The function you are using is looking for seconds. The number you are = using is in milliseconds. So divide by 1000. This seems to produce the = correct result, adjusted with the default -7 time zone: [bepEpochDate epoch=3D[math]1472732506000/1000[/math]&dateFormat=3D%m/%d/%= y] @ [format Seconds_To_Time][bepEpochTime = epoch=3D[math]1472732506000/1000[/math]][/Format] 09/01/16 @ 05:21:46 > On Sep 9, 2016, at 4:43 PM, Michael Davis wrote: >=20 > Hi Olin, >=20 > 1472732506000 unix epoch converted to date is 01/14/48639 @ 2:46am, so = I'm suspecting your results not seeming to work may stem from that. >=20 > If I take the last three digits (the zeros) off of your number and run = it through the same function, I get 09/01/16, which is probably what you = were expecting. >=20 > [bepEpochDate epoch=3D1472732506&dateFormat=3D%m/%d/%y] >=20 >=20 > Mike >=20 >=20 >=20 >> On Sep 5, 2016, at 10:28 AM, Olin Lagon > wrote: >>=20 >> Hey guys, >>=20 >> For a unix epoch date like 1472732506000, does anyone have a = converter that can convert this to a date in WebDNA? I tried = http://www.webdna.us/page.dna?numero=3D296 = but it doesn't seem to = work. >>=20 >> This >>=20 >> [bepEpochDate epoch=3D1472732506000&dateFormat=3D%m/%d/%y] >>=20 >> Returns this >>=20 >> 575/-28409/29 >>=20 >> Thanks! Olin >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_E18F7332-853E-4C45-9928-B5AFF5FC210D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 The function you are using is looking for seconds.  The = number you are using is in milliseconds.  So divide by 1000. =  This seems to produce the correct result, adjusted with the = default -7 time zone:

[bepEpochDate = epoch=3D[math]1472732506000/1000[/math]&dateFormat=3D%m/%d/%y] @ = [format Seconds_To_Time][bepEpochTime = epoch=3D[math]1472732506000/1000[/math]][/Format]

09/01/16 @ 05:21:46


On Sep 9, 2016, at 4:43 PM, = Michael Davis <admin@network13.net> wrote:

Hi Olin,

1472732506000 unix epoch = converted to date is 01/14/48639 @ 2:46am, so I'm suspecting your = results not seeming to work may stem from that.

If I take the last three digits (the = zeros) off of your number and run it through the same function, I get = 09/01/16, which is probably what you were expecting.

[bepEpochDate = epoch=3D1472732506&dateFormat=3D%m/%d/%y]


Mike



On Sep 5, 2016, at 10:28 AM, Olin Lagon = <olin.lagon@gmail.com> wrote:

Hey guys,

For a unix epoch date like 1472732506000, does anyone have a converter=20= that can convert this to a date in WebDNA? I tried=20 http://www.webdna.us/p= age.dna?numero=3D296 but it doesn't seem to work.

This

[bepEpochDate epoch=3D1472732506000&dateFormat=3D%m/%d/%y]

Returns this

575/-28409/29
=
Thanks! Olin
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_E18F7332-853E-4C45-9928-B5AFF5FC210D-- . Michael Davis

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:

Emailer help....! (1997) Cannot get subtotal to work (1997) links to .db's ? (1999) test (2003) 3.08 has trouble keeping the serial # ?? (2000) sendmail spaces (1997) search for non-unique question (2001) Setting user and password (1999) autocommit problem (1998) Terry's formvariables tip (1998) WebCatalog Serial Number (2003) SiteGuard Use Question (1997) WebCat 3 & Aliases (2000) RE: Error: template (1997) ShowNext (1997) Is there an easier way? (1998) 3rd request: What are SMSI's upgrade policies? (2003) Shopping Cart Problem (1998) Searchable list archive (1997) [OT] FTP client (2003)