24h clock
11 posts
• Page 1 of 1
Posts: 7
Joined: Fri Sep 26, 2008 12:05 pm |
is there a built-in option to change the clock from am/pm to a 24h clock?
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
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 John Sindelar
SeedCode |
Posts: 7
Joined: Fri Sep 26, 2008 12:05 pm |
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 . |
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
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. John Sindelar
SeedCode |
Posts: 3
Joined: Mon Sep 20, 2010 1:06 am |
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 Last edited by Ian on Tue Sep 21, 2010 3:42 am, edited 1 time in total.
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
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. John Sindelar
SeedCode |
Posts: 3
Joined: Mon Sep 20, 2010 1:06 am |
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 |
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
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 ) ) ) John Sindelar
SeedCode |
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
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 ) ) ) John Sindelar
SeedCode |
Posts: 3
Joined: Mon Sep 20, 2010 1:06 am |
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 |
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
I believe that in your version simply increasing the number of portal rows gets you very close.
John Sindelar
SeedCode |
11 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests