Re: Showif date > other date

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56756
interpreted = N
texte = That's two different preferences you have to set properly if you change the default date format, right? Maybe this has been the cause of some people's problems when not using the default date format, they perhaps changed only one of the two date format preferences. I have never stored dates in formats other than "days since 0000" and American format (which is webdna's default) but over the years there have been numerous problems posted when people try doing things with dates in different formats, so I thought this was still not possible. Thanks for confirming this, but I will personally continue to store dates in the default format (or as days since 0000) just to prevent any potential new problems in the future ... :) >Ken > >If the prefs are set to read and display European dates the code will work. > >I use this code with European Dates set in WebDNA prefs > >[If >("[Math]{[Date]}[/Math]">"[Math]{01/02/2004}[/Math]")|("[Math]{[Date]}[/Math]"="[Math]{01/02/2004}[/Math]")] >[Then] [!]***** show new *****[/!] [Include >file=promos/feb04promo.inc] [/Then] >[Else] [!]***** show old *****[/!] [Include >file=promos/oct03promo.inc] [/ELSE] >[/If] > > > >On 12 Mar 2004, at 10:30 AM, Kenneth Grome wrote: > >>The math context can only deal with dates in American format, >>right? If so, he will have to change the date format first, because >>he's not using American date format ... >Regards > >Stuart Tremain >idfk web developments >114a/40 yeo street neutral bay 2089 australia >t +612 9908 2134 >f +612 9908 4837 > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ -- Kenneth Grome WebDNA Programmer Outsource Service Provider Phone: +6332 255-6591 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Showif date > other date ( Alan White 2004)
  2. Re: Showif date > other date ( Kenneth Grome 2004)
  3. Re: Showif date > other date ( Jesse Proudman 2004)
  4. Re: Showif date > other date ( Kenneth Grome 2004)
  5. Re: Showif date > other date ( Tim Robinson 2004)
  6. Re: Showif date > other date ( Jesse Proudman 2004)
  7. Re: Showif date > other date ( Kenneth Grome 2004)
  8. Re: Showif date > other date ( "Gary Krockover" 2004)
  9. Re: Showif date > other date ( Jesse Proudman 2004)
  10. Re: Showif date > other date ( Kenneth Grome 2004)
  11. Re: Showif date > other date ( Tim Robinson 2004)
  12. Re: Showif date > other date ( Kenneth Grome 2004)
  13. Re: Showif date > other date ( Stuart Tremain 2004)
  14. Re: Showif date > other date ( Kenneth Grome 2004)
  15. Re: Showif date > other date ( Stuart Tremain 2004)
  16. Re: Showif date > other date ( Stuart Tremain 2004)
  17. Re: Showif date > other date ( Alan White 2004)
  18. Re: Showif date > other date ( devaulw@onebox.com 2004)
  19. Showif date > other date ( Alan White 2004)
That's two different preferences you have to set properly if you change the default date format, right? Maybe this has been the cause of some people's problems when not using the default date format, they perhaps changed only one of the two date format preferences. I have never stored dates in formats other than "days since 0000" and American format (which is webdna's default) but over the years there have been numerous problems posted when people try doing things with dates in different formats, so I thought this was still not possible. Thanks for confirming this, but I will personally continue to store dates in the default format (or as days since 0000) just to prevent any potential new problems in the future ... :) >Ken > >If the prefs are set to read and display European dates the code will work. > >I use this code with European Dates set in WebDNA prefs > >[If >("[math]{[date]}[/Math]">"[math]{01/02/2004}[/Math]")|("[math]{[date]}[/Math]"="[math]{01/02/2004}[/Math]")] >[Then] [!]***** show new *****[/!] [Include >file=promos/feb04promo.inc] [/Then] >[Else] [!]***** show old *****[/!] [Include >file=promos/oct03promo.inc] [/ELSE] >[/If] > > > >On 12 Mar 2004, at 10:30 AM, Kenneth Grome wrote: > >>The math context can only deal with dates in American format, >>right? If so, he will have to change the date format first, because >>he's not using American date format ... >Regards > >Stuart Tremain >idfk web developments >114a/40 yeo street neutral bay 2089 australia >t +612 9908 2134 >f +612 9908 4837 > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ -- Kenneth Grome WebDNA Programmer Outsource Service Provider Phone: +6332 255-6591 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Kenneth Grome

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:

Encrypt Users.db problem (1998) Multi-processor Mac info ... (1997) Math with Time (1997) Calculating multiple shipping... (1997) Targeted Redirect (1999) denying access to a banned username (2002) New Site WebCat (1997) TCP Connect (1999) Another bug to squash (WebCat2b13 Mac .acgi) (1997) OT ImageMagick and Thumbnails (2003) Re[2]: New syntax feedback for 4.0 (2000) re: Large databases in WebCat (1997) proper way to check if a container is empty? (2000) Thanks Grant (1997) PROBLEM (1997) [WebDNA] WebDNA 8.6 Ubuntu 16.04 (2018) Shownext! (1998) PR: WebCatalog Affiliates Program Announced -- Share the (2000) forced timeout? (1998) Country & Ship-to address & other fields ? (1997)