Calender code

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 60983
interpreted = N
texte = For some unknown reason, the calendar code that I've used for ages has decided to not work for me anymore :-) I downloaded the original SM Calendar code, but that also refused to display correctly - this may be due to me using European date formats. Anyway, rather than spend time trying to fix it, I thought I'd finally get around to write my own. I'm just currently coding the part which works out how many days are in the month specified. Here's the code I have so far - seems to work OK, but thought I'd open it up to see if anyone can find any problems I may incur doing it this way. Remember, this is using the dd/mm/yyyy format. [GetChars start=1&end=2] [math date]{[math date]{01/[chosen_month]/[chosen_year]} + {0/1/0000}[/math]} - {01/[chosen_month]/[chosen_year]}[/math] [/GetChars] Thanks. ------------------------------------------------------------- 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: Calender code ( Mark Derrick 2005)
  2. Re: Calender code ( Donovan Brooke 2005)
  3. Re: Calender code ( Mark Derrick 2005)
  4. Re: Calender code II ( Mark Derrick 2005)
  5. Re: Calender code ( Donovan Brooke 2005)
  6. Calender code ( Mark Derrick 2005)
For some unknown reason, the calendar code that I've used for ages has decided to not work for me anymore :-) I downloaded the original SM Calendar code, but that also refused to display correctly - this may be due to me using European date formats. Anyway, rather than spend time trying to fix it, I thought I'd finally get around to write my own. I'm just currently coding the part which works out how many days are in the month specified. Here's the code I have so far - seems to work OK, but thought I'd open it up to see if anyone can find any problems I may incur doing it this way. Remember, this is using the dd/mm/yyyy format. [GetChars start=1&end=2] [math date]{[math date]{01/[chosen_month]/[chosen_year]} + {0/1/0000}[/math]} - {01/[chosen_month]/[chosen_year]}[/math] [/GetChars] Thanks. ------------------------------------------------------------- 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/ Mark Derrick

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:

Linked lists and Recursive searching (2003) Nested vs conditional (1997) emailer and other smtp (1998) AE aware WebCatalog.acgi? (1997) [test]RE: [WebDNA] WebDNA as cgi app (was WebSite Examples) (2008) Development terminated. (1998) formulas.db ?? (1998) Searching a field and returning the highest value (1997) Signal Raised Error (1997) Help with update to 2.11 (1998) Include a big block of text (1997) Protecting Images (2003) New commands in Final candidate (1997) More on the email templates (1997) emailer (1997) executing via commandline (2003) Problems passing [SKU] with $Replace in 2.0 (1997) GuestBook example (1997) [SHOWIF AND/OR] (1997) WebCat2 - Getting to the browser's username/password data (1997)