Re: Calender code

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 60989
interpreted = N
texte = Yup, running 6 here - I had a look around the SM site, but couldn't find any new codes in the example downloads section, any chance of a link? Thanks. On 10 Feb 2005, at 14:34, Donovan Brooke wrote: > Hi Mark, > you always want to force the date format to make things work anywhere > geographically. > > Also, if you own 6.0, there is brand new shiney open source calendar > available. > > Donovan > > > > Mark Derrick wrote: >> 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. > > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE Eucalyptus Design > <-Web Development (specializing in eCommerce), -> > <- Graphic Design, Custom Tags and Labels -> > > ADDRESS:> Donovan Brooke > DBA Eucalyptus Design > N2862 Summerville Park Rd. > Lodi, WI 53555 > PH:> 1.608.592.3567 > Web:> http://www.euca.us > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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)
Yup, running 6 here - I had a look around the SM site, but couldn't find any new codes in the example downloads section, any chance of a link? Thanks. On 10 Feb 2005, at 14:34, Donovan Brooke wrote: > Hi Mark, > you always want to force the date format to make things work anywhere > geographically. > > Also, if you own 6.0, there is brand new shiney open source calendar > available. > > Donovan > > > > Mark Derrick wrote: >> 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. > > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE Eucalyptus Design > <-Web Development (specializing in eCommerce), -> > <- Graphic Design, Custom Tags and Labels -> > > ADDRESS:> Donovan Brooke > DBA Eucalyptus Design > N2862 Summerville Park Rd. > Lodi, WI 53555 > PH:> 1.608.592.3567 > Web:> http://www.euca.us > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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:

Handy Browser Counter Tip (1997) Quickie question on the email templates (1997) [OT] Weird returned mail - whaddya think? (2002) HTTP "host" header (2003) label?! (2005) WebCat2b12 - nesting [tags] (1997) [cart] not being interpreted inside [founditems] (1997) Help name our technology! (1997) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) [OT] cheap software (2004) Bug or syntax error on my part? (1997) make updates in a temporary database (2004) Corruption in images (2004) WebCatalog v2.1.1 (1998) Permissions (2000) [replace] has protection feature like [delete]? (2000) Possible Bug in 2.0b15.acgi (1997) Can I do these? (1997) Web*3 virtual hosting Webcatalog problem (1998) Make sure I understand this??? (1997)