This content has been marked as final. Show 7 replies
1. Start ==> Programs ==> Oracle Content Server ==> idc ==> Utilities ==> System Properties, click Localization tab, click English-US (or whatever your default locale is), click Edit..., edit Date/Time Format entry, you can format there your time to 24 hours if you use the appropriate formatting.
The normal convention for 24h is: HH:mm:ss, change HH to hh for 12h.
Is there any other ways, i tried this but doest work...
Not that I know of, maybe someone else has another idea.
Are you sure you're changing it in the right locale and being careful with the formatting?
When you say you want this changed...
What exactly do you mean where do you want to see the time in 24hr format?
You would do well to read about SystemTimeZone SystemLocale SystemDateFormat and formatDateWithPattern in the Idoc script reference http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/developer/idoc_script_reference_10en.pdf
Edited by: Tim Snell on 24-Aug-2010 10:26
I talk about timezones and date formats in my blog:
Thanks for helping, actually i also have one more question about the calendar, when selecting the date from the calendar, how can i define the time as current time but not 00:00?
The IDOC script fucntion dateCurrent will give you the full date and time 'now' and you can show this in the time only format like this <$formatTimeOnly(dateCurrent())$>
In terms of setting this for dates selected by calendar...
You can either do it server side by setting up a derived rule where you could change the time after checkin to 'now' using the above
Or you could look at customizing the PopUpCalendar resources. In this case you would need to modify the resource so that when the page was rendered the time part was stored and that on selection of a data from the calendar the time is cocatenated on the end. You would need to do this in a component of course.
The second solution is more work but would look more elegant