Re: [WebDNA] Help with work-around format date

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110425
interpreted = N
texte = --Apple-Mail=_F8ADB8A7-F590-4C6C-83CA-9831FE898DEE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 It looks like there is an error of a factor of 4630 TODAY =3D [FORMAT days_to_date][math]{[DATE]}+4630[/math][/Format] TODAY + 90 =3D [FORMAT days_to_date][math]{[TODAY]}+4720[/math][/Format] COOKIE DATE =3D [FORMAT days_to_date %A, = %d-%b-%Y][math]{[DATE]}+4720[/math][/FORMAT] [time] GMT Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 10/06/2013, at 3:05 PM, Steve Graham wrote: > I cannot because the cookie expire date must be 90 days future so I = tried this which makes "Thursday, 04-Jan-2001 00:02:39": >=20 > [format days_to_date %A, %d-%b-%Y][math]{[date]}+90[/math][/format] = [time] GMT >=20 >=20 >=20 >=20 >=20 > On Sun, Jun 9, 2013 at 11:43 PM, Stuart Tremain = wrote: > Just use the normal [DATE] formatting: >=20 > [DATE %A, %d-%b-%Y] >=20 >=20 >=20 > Regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 > On 10/06/2013, at 2:37 PM, Steve Graham wrote: >=20 > > How to format an expire date for a cookie in 6.2.1 beta? Can you = suggest a workaround for normal syntax until bug is fixed? > > --------------------------------------------------------- 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 >=20 > --------------------------------------------------------- > 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 >=20 > --------------------------------------------------------- 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=_F8ADB8A7-F590-4C6C-83CA-9831FE898DEE Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=iso-8859-1 It looks like there is an error of a factor of 4630

TODAY = [FORMAT days_to_date][math]{[DATE]}+4630[/math][/Format]

TODAY + 90 = [FORMAT days_to_date][math]{[TODAY]}+4720[/math][/Format]

COOKIE DATE = [FORMAT days_to_date %A, %d-%b-%Y][math]{[DATE]}+4720[/math][/FORMAT] [time] GMT


Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA




On 10/06/2013, at 3:05 PM, Steve Graham <skgrahamjr@gmail.com> wrote:

I cannot because the cookie expire date must be 90 days future so I tried this which makes "Thursday, 04-Jan-2001 00:02:39":

[format days_to_date %A, %d-%b-%Y][math]{[date]}+90[/math][/format] [time] GMT





On Sun, Jun 9, 2013 at 11:43 PM, Stuart Tremain <webdna@idfk.com.au> wrote:
Just use the normal [DATE] formatting:

[DATE %A, %d-%b-%Y]



Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA
webdna@idfk.com.au




On 10/06/2013, at 2:37 PM, Steve Graham <skgrahamjr@gmail.com> wrote:

> How to format an expire date for a cookie in 6.2.1 beta?  Can you suggest a workaround for normal syntax until bug is fixed?
> --------------------------------------------------------- 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 <talk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
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=_F8ADB8A7-F590-4C6C-83CA-9831FE898DEE-- Associated Messages, from the most recent to the oldest:

    
--Apple-Mail=_F8ADB8A7-F590-4C6C-83CA-9831FE898DEE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 It looks like there is an error of a factor of 4630 TODAY =3D [FORMAT days_to_date][math]{[date]}+4630[/math][/Format] TODAY + 90 =3D [FORMAT days_to_date][math]{[TODAY]}+4720[/math][/Format] COOKIE DATE =3D [FORMAT days_to_date %A, = %d-%b-%Y][math]{[date]}+4720[/math][/FORMAT] [time] GMT Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 10/06/2013, at 3:05 PM, Steve Graham wrote: > I cannot because the cookie expire date must be 90 days future so I = tried this which makes "Thursday, 04-Jan-2001 00:02:39": >=20 > [format days_to_date %A, %d-%b-%Y][math]{[date]}+90[/math][/format] = [time] GMT >=20 >=20 >=20 >=20 >=20 > On Sun, Jun 9, 2013 at 11:43 PM, Stuart Tremain = wrote: > Just use the normal [date] formatting: >=20 > [DATE %A, %d-%b-%Y] >=20 >=20 >=20 > Regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 > On 10/06/2013, at 2:37 PM, Steve Graham wrote: >=20 > > How to format an expire date for a cookie in 6.2.1 beta? Can you = suggest a workaround for normal syntax until bug is fixed? > > --------------------------------------------------------- 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 >=20 > --------------------------------------------------------- > 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 >=20 > --------------------------------------------------------- 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=_F8ADB8A7-F590-4C6C-83CA-9831FE898DEE Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=iso-8859-1 It looks like there is an error of a factor of 4630

TODAY = [FORMAT days_to_date][math]{[date]}+4630[/math][/Format]

TODAY + 90 = [FORMAT days_to_date][math]{[TODAY]}+4720[/math][/Format]

COOKIE DATE = [FORMAT days_to_date %A, %d-%b-%Y][math]{[date]}+4720[/math][/FORMAT] [time] GMT


Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA




On 10/06/2013, at 3:05 PM, Steve Graham <skgrahamjr@gmail.com> wrote:

I cannot because the cookie expire date must be 90 days future so I tried this which makes "Thursday, 04-Jan-2001 00:02:39":

[format days_to_date %A, %d-%b-%Y][math]{[date]}+90[/math][/format] [time] GMT





On Sun, Jun 9, 2013 at 11:43 PM, Stuart Tremain <webdna@idfk.com.au> wrote:
Just use the normal [date] formatting:

[DATE %A, %d-%b-%Y]



Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA
webdna@idfk.com.au




On 10/06/2013, at 2:37 PM, Steve Graham <skgrahamjr@gmail.com> wrote:

> How to format an expire date for a cookie in 6.2.1 beta?  Can you suggest a workaround for normal syntax until bug is fixed?
> --------------------------------------------------------- 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 <talk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
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=_F8ADB8A7-F590-4C6C-83CA-9831FE898DEE-- Stuart Tremain

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:

Fwd: more ! testing (1997) Newbie Tax Question (1997) Navigator Parsing (1997) displaying New products (using [date]) (1997) The beginning (1997) Working with framesets (1998) question: Eudora 3.1.1 (1997) MacAuthorize order data fields WAS:How To question... (1997) WebCat2: Items xx to xx shown, etc. (1997) No luck with taxes (1997) OT: RAID Options (2004) [table] retained in memory (2006) Dup cart id on multi browsers running on the same machine-win2k (2001) WCS Newbie question (1997) Anyone have a one-to-one messageing system? (1999) lookup and two records? (1997) WebCatalog NT beta 18 problem (1997) WCS Newbie question (1997) 2 things: CartSweep and Manual (2003) RequiredFields notes ... (1997)