Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5837 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

forgive me if this has been answered elsewhere on the forum, but i didn't see anything mentioned..

i'm pulling a 'meeting time' field like so:

echo $meeting->getField('meeting time')

and the filemaker api is showing me "hh:mm:ss", regardless of how the time is stored in the database. Meaning, i can type in "3:00 PM" into filemaker.. there's no formatting on it in the database. But online, all i can get out of it is "15:00:00".

now, i could make them text fields - we're not calculating anything against them (at this point), but i'd prefer to leave them as 'time' if there's an easy way to adjust how they appear online. I could also make a extra 'calc' field for each time in question, and use /that/ on the web.. but that seems very, um.. non-elegant. :

.. suggestions?

thank you!

Posted

thank you, i thought it'd be something straightforward like that.. i didn't realize i would use the "date" function to parse a "time" though.

appreciate it :

This topic is 5837 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.