SeedCodeComplete2

Time Formats

SeedCodeComplete2.TimeFormats History

Hide minor edits - Show changes to output

May 27, 2011, at 01:08 AM by 76.22.74.86 -
Changed lines 37-46 from:
That's it.
to:
That's it. Removing then time from all views is similar:



->// -------------- ALL OTHERS -------------------

-> Let ( [
-> t1me = GetAsTime ( $$sc_DateTimeStart[$$sc_SourceInUse] ) ;
-> t1me = ""
->];
Added lines 12-37:

!! Can I remove the time display from just the month view?

Yes. The start time is controlled in the last Set Variable line of the script "Format Event Time --- Edit Time Formats for Events Here ---". To remove the time only in month view, change this part of that last calc...


->// -------------- ALL OTHERS -------------------

-> Let ( [
-> t1me = GetAsTime ( $$sc_DateTimeStart[$$sc_SourceInUse] )
->];



...to this:



->// -------------- ALL OTHERS -------------------

-> Let ( [
->t1me = if ( $$sc_Mode ≠ "Month" ; GetAsTime ( $$sc_DateTimeStart[$$sc_SourceInUse] ) ; "" )
-> ];


That's it.
December 31, 2009, at 06:44 AM by 76.22.123.157 -
Changed lines 5-6 from:
Events are displayed as text, so we control the formatting of time in a script before turning that time into text we show in the calendar.
to:
Events in the calendar (on the month view, for example) are displayed as text, so we control the formatting of time in a script before turning that time into text we show in the calendar.
November 28, 2009, at 01:10 AM by 76.22.123.157 -
Added lines 1-11:
!! How can I change the way times are displayed?

'''In the Event Display'''

Events are displayed as text, so we control the formatting of time in a script before turning that time into text we show in the calendar.

Edit the script "Format Event Time --- Edit Time Formats for Events Here ---" and you'll see a number of commented switches to do things like turn the time from 12hr time to 24hr time.

'''In the (vertical or horizontal) Time Scale'''

The times that display on the vertical time scale of the day view, week view, and schedule views are actual time fields, so you'll want to enter layout mode and change those using FileMaker's native time formating controls at the layout level. If you have trouble getting to the right tab in layout mode, read [[CalendarTabs | this]].
(855) SEEDCODE
[email protected]
Follow us: