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

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110427
interpreted = N
texte = --001a11c225788d94f204dec6387c Content-Type: text/plain; charset=ISO-8859-1 Yet one hour ago the date year was 2000 not 2001 so maybe it is not a simple fix. On Mon, Jun 10, 2013 at 12:35 AM, Stuart Tremain wrote: > 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 > 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": > > [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 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 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 . >> 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 > --001a11c225788d94f204dec6387c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Yet one hour ago the date year was 2000 not 2001 so maybe = it is not a simple fix.


On Mon, Jun 10, 2013 at 12:35 AM, Stuart Tremain <web= dna@idfk.com.au> wrote:
It looks= like there is an error of a factor of 4630

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

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

COOKIE DATE =3D=A0[FORMAT=A0days_to= _date %A, %d-%b-%Y][math]{[DATE]}+4720[/math][/FORMAT] [time] GMT


=
Regards

Stuart Tremain
IDFK We= b Developments
AUSTRALIA




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

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

[fo= rmat 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.c= om.au> wrote:
Just use the normal [DATE] formatting:

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



Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA
webdna@idfk.com.au<= /a>




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? =A0Can you su= ggest a workaround for normal syntax until bug is fixed?
> --------------------------------------------------------- This m= essage is sent to you because you are subscribed to the mailing list . To u= nsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us= Bug Reporting: supp= ort@webdna.us

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <ta= lk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: suppo= rt@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: suppo= rt@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: suppo= rt@webdna.us

--001a11c225788d94f204dec6387c-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Help with work-around format date: SOLVED (Steve Graham 2013)
  2. Re: [WebDNA] Help with work-around format date (Donovan Brooke 2013)
  3. Re: [WebDNA] Help with work-around format date (John Butler 2013)
  4. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  5. Re: [WebDNA] Help with work-around format date (Donovan Brooke 2013)
  6. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  7. Re: [WebDNA] Help with work-around format date (christophe.billiottet@webdna.us 2013)
  8. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  9. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  10. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  11. Re: [WebDNA] Help with work-around format date (John Butler 2013)
  12. Re: [WebDNA] Help with work-around format date (Stuart Tremain 2013)
  13. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  14. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  15. Re: [WebDNA] Help with work-around format date (Stuart Tremain 2013)
  16. Re: [WebDNA] Help with work-around format date (Steve Graham 2013)
  17. Re: [WebDNA] Help with work-around format date (Stuart Tremain 2013)
  18. [WebDNA] Help with work-around format date (Steve Graham 2013)
--001a11c225788d94f204dec6387c Content-Type: text/plain; charset=ISO-8859-1 Yet one hour ago the date year was 2000 not 2001 so maybe it is not a simple fix. On Mon, Jun 10, 2013 at 12:35 AM, Stuart Tremain wrote: > 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 > 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": > > [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 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 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 . >> 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 > --001a11c225788d94f204dec6387c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Yet one hour ago the date year was 2000 not 2001 so maybe = it is not a simple fix.


On Mon, Jun 10, 2013 at 12:35 AM, Stuart Tremain <web= dna@idfk.com.au> wrote:
It looks= like there is an error of a factor of 4630

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

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

COOKIE DATE =3D=A0[FORMAT=A0days_to= _date %A, %d-%b-%Y][math]{[date]}+4720[/math][/FORMAT] [time] GMT


=
Regards

Stuart Tremain
IDFK We= b Developments
AUSTRALIA




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

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

[fo= rmat 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.c= om.au> wrote:
Just use the normal [date] formatting:

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



Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA
webdna@idfk.com.au<= /a>




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? =A0Can you su= ggest a workaround for normal syntax until bug is fixed?
> --------------------------------------------------------- This m= essage is sent to you because you are subscribed to the mailing list . To u= nsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us= Bug Reporting: supp= ort@webdna.us

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <ta= lk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: suppo= rt@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: suppo= rt@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: suppo= rt@webdna.us

--001a11c225788d94f204dec6387c-- Steve Graham

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:

Proper way to save links in a db (2002) [OT] - Credit card processing company fees (2004) Base 64 encoding (2001) Separate SSL Server (1997) [OT] Currency feed (2005) Problems with large number of items in a cart. (1998) Cancel Subscription (1996) listfiles-looking for slick solution (1997) Line items in table cells (1997) Credit Card Number checking (1997) Can't add a field (1998) Question re: FlushDatabases (1997) [WriteFile] problems (1997) RE: [WebDNA] WebDNA on Ubuntu 12.x (2013) [WebDNA] Weird issue with ADD (2018) Job Posting (1998) [INCLUDE] Limitations (1998) Bug? (1997) OT: anyone know how to prevent image hijacking with Apache? (2002) about this server and links to who (1997)