Page 1 of 1
24h clock
Posted:
Sun Nov 02, 2008 1:40 pm
by astridah
is there a built-in option to change the clock from am/pm to a 24h clock?
Posted:
Sun Nov 02, 2008 7:38 pm
by John Sindelar
No, unfortunately there is no single setting for this. Rather you'd select any time fields you're interested in layout mode and select "Time..." from FileMaker's format menu. Then you can change the time to 24 hour format or to other formats if you need to.
Hope that helps,
John
Posted:
Mon Nov 03, 2008 12:52 am
by astridah
oki.
we are only going to use a fairly small part of the program, so i have changed the fields i have found til now.
but this is something which is fairly important for the european market, so i would consider looking into a possible easy solution to this
.
Posted:
Mon Nov 03, 2008 9:27 am
by John Sindelar
Indeed. Unfortunately, this isn't something FileMaker gives us dynamic access to. We've thought about a second set of layouts for our European customers but the time seems easy enough to change without going that far. This is definitely something we continue to look at.
Thanks again.
Changing Tooltip date formats
Posted:
Mon Sep 20, 2010 6:34 am
by Ian
We've just purchased SeedCode complete for FMP 8/9 as we are still running on FMP9.
Further to above, I've looked in to the Tooltip Calc but I can't see how the time is stored in the Calc.
Could you please tell me how to change the time format to 24 hours in these also.
Thanks
Ian
Posted:
Mon Sep 20, 2010 9:34 am
by John Sindelar
Hi Ian,
I don't think I'm following you as we don't have a tool-tip calc in the fm8.5 version of the calendar. Can you let me know more about where you're seeing the time you want to change?
Thanks.
Posted:
Tue Sep 21, 2010 12:02 am
by Ian
Hello John
Yes it's on the Schedule Horizontal layout, First comes start time, then the title and description text
Here is the calc on that tool-tip:
SeedCode_AppendNth ( ResourceChartAppts01::ApptTitleDisplayCalc ; 1 ; Count ( ResourceChartAppts01::_c_CommonOne ) ; "-----------------" ; "" )
It's attached to the "Edit Appointment { Column , Type }" script button
I could email you a screenshot
Thanks
Ian
Posted:
Wed Sep 22, 2010 5:23 am
by John Sindelar
Thanks! The display calc you've found takes it's time format from a custom function "SeedCode_TimeToText". Edit that function and you'll see that we're explicitly turning 24 hours time to 12 and you'll be able to change that.
If you don't have FileMaker Advanced, and thus can't edit this custom function, you can edit the definition of ApptTitleDisplayCalc, replacing each instance of "SeedCode_TimeToText" with a calc of your own to transform the time. Something like:
Let ( [
t = TimeField ;
h = Hour ( t )
] ;
If ( t = 0 ; "" ;
If ( h & ":" & Right ( "00" & Minute ( t ) ; 2 ) &
If ( h < 12 or h = 24 ; AMsymbol ; PMsymbol )
)
)
Posted:
Wed Sep 22, 2010 5:39 am
by John Sindelar
Thanks! The display calc you've found takes it's time format from a custom function "SeedCode_TimeToText". Edit that function and you'll see that we're explicitly turning 24 hours time to 12 and you'll be able to change that.
If you don't have FileMaker Advanced, and thus can't edit this custom function, you can edit the definition of ApptTitleDisplayCalc, replacing each instance of "SeedCode_TimeToText" with a calc of your own to transform the time. Something like:
Let ( [
t = TimeField ;
h = Hour ( t )
] ;
If ( t = 0 ; "" ;
If ( h & ":" & Right ( "00" & Minute ( t ) ; 2 ) &
If ( h < 12 or h = 24 ; AMsymbol ; PMsymbol )
)
)
Posted:
Thu Oct 21, 2010 7:51 am
by Ian
Thanks for your reply John that did the trick.
I have another question, As this version was made for smaller resolution screens, would it be feasible for me to expand most of the schedule screens to have more resources and time, to the right and down?
Thanks
Ian
Posted:
Thu Oct 21, 2010 8:07 am
by John Sindelar
I believe that in your version simply increasing the number of portal rows gets you very close.