Tip: Changing the Date Format of Tool Tips
Posted: Wed Mar 19, 2008 10:46 am
All the date formats in SeedCode calendar will respect your local system settings, so if you're using European or Australian date formats, you'll recognize those in the calendar.
However the date calcs used on our tool tips (on the horizontal scheduling view) don't respect system formats. To switch these to the European date format you'll need to edit the definition for the field "ApptTitleDisplayCalc" in the appointments table.
In the first section, after the comment "// ########## Show dates on some layouts" you'll see two date fields, ApptDateStart_k and ApptDateEnd. These both need to be replaced with the following:
Replace ApptDateStart_k with:
Replace ApptDateEnd with:
That's it!
However the date calcs used on our tool tips (on the horizontal scheduling view) don't respect system formats. To switch these to the European date format you'll need to edit the definition for the field "ApptTitleDisplayCalc" in the appointments table.
In the first section, after the comment "// ########## Show dates on some layouts" you'll see two date fields, ApptDateStart_k and ApptDateEnd. These both need to be replaced with the following:
Replace ApptDateStart_k with:
- Code: Select all
Right ( "0" & Day ( ApptDateStart_k ) ; 2 ) & "/" & Right ( "0" & Month ( ApptDateStart_k ) ; 2 ) & "/" & Right ( Year ( ApptDateStart_k ) ; 2 )
Replace ApptDateEnd with:
- Code: Select all
If ( not IsEmpty ( ApptDateEnd ) ; Right ( "0" & Day ( ApptDateEnd ) ; 2 ) & "/" & Right ( "0" & Month ( ApptDateEnd ) ; 2 ) & "/" & Right ( Year ( ApptDateEnd ) ; 2 ) )
That's it!