Showing time in 12h format (AM/PM)

Hi,
I have a field of type Date/Time.
When I inserts to it the date and hour it is in a format of 12 hours: DD/MM/YYY HH:mm p.m./a.m
But when populate the description field with a post default rule of this field I am getting the format in a 24 hours format (i.e. if I inserted 02:00 p.m., I see in the description field 14:00). I the function ToChar but it didn't work, I also made sure my default locale is of the same format.
Do you have an idea how to solve this? how to show it in the 12 hours format?
Thanks.
Liron

I got an answer - I should have written ToChar ([<DateTimeField>])
Thanks
Liron
Edited by: user8643985 on 04:09 16/08/2009

Similar Messages

  • Show time in current time format

    Hi!
    jdk1.3
    windows2000
    I want to show time in java in current time format
    e.g if I set in Windows (Regional Settings->Time) time format to 12 h format , then I want java show me time in this format
    if I set in Windows time to 24 h. format, then I want java show me time in 24 hours format.
    What I can do?
    Thank you.

    Hi!
    jdk1.3
    windows2000
    I want to show time in java in current time format
    e.g if I set in Windows (Regional Settings->Time) time
    format to 12 h format , then I want java show me time
    in this format
    if I set in Windows time to 24 h. format, then I want
    java show me time in 24 hours format.
    What I can do?
    Thank you.haha just did this a few hours ago hey this should get you started
    http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html
    anyway it will be much easier and faster if u just type 'date/time' in forum search lots of similar questions this type

  • Show Time Scale

    Hi,
    Just evaluating CR 2008 having used CR 2008 Basic through Visual Studio 2008. The reason for considering the upgrade is to benefit from the enhanced formatting abilities in the full version.
    My problem is that I am trying to configure a stacked area chart to show various related financial figures over the period of a year or more. My problem with a regular stacked area chart is that because of the large number of data points (daily) the X axis becomes far too chaotic with the large number of labels. The obvious option seems to be to use the "Show time scale" option in axis settings, however when you chose this option the "Date axis area" chart type is automatically chosen and this chart type doesn't seem to allow stacking. Can anybody help?
    Secondly, is there any way to change the scaling and date format of the X axis when scaling by time e.g. is there anyway of changing the scale to monthly and showing the date format as mm/yy. Also if I wanted to view the chart using a yearly scale is there any way of doing this and setting the date format to yyyy.
    Kind Regards,
    Mark

    >
    Raghavendra Gadhamsetty wrote:
    > Did you try adding the formula year(datefield) in X axis by removing the existing datefield?
    >
    > Regards,
    > Raghavendra
    Thanks for the answer regarding dates. I'm still awaiting an answer on the following part of my question:
    "My problem is that I am trying to configure a stacked area chart to show various related financial figures over the period of a year or more. My problem with a regular stacked area chart is that because of the large number of data points (daily) the X axis becomes far too chaotic with the large number of labels. The obvious option seems to be to use the "Show time scale" option in axis settings, however when you chose this option the "Date axis area" chart type is automatically chosen and this chart type doesn't seem to allow stacking. Can anybody help?"
    Thanks in advance for your help.
    Kind Regards,
    Mark

  • System is showing time out when run in background

    Dear all,
    We have two systems: One R/3 and EBP. We have made one report where the remote function module will be called from R/3 to EBP. There are 4 lakhs data in SAP. We are sending 10000 data as package in internal table and getting the corresponding output. But the system is showing time out when the report has run in background. Can you please suggest how the process can be improved so that the timeout can be avoided.
    Thanks and regards,
    Atanu

    Hi,
    Try to fetch records in smaller chunks and process them.  For example, if you are trying to fetch records for one year, instead of single query, try to fetch in 12 sets for each month.  Fetch first month and process the records and put them in the output internal table.  Then go for next month and so on.  Anyway your program is running in background.  There will not be any user complaint also.  The solution might sound bit funny.  But it works.
    Regards,
    Hema

  • How to generate current time in the format yyyy-mm-ddThh:mm:ssZ in the xslt

    Hello,
    i am tring to generate current time in the format yyyy-mm-ddThh:mm:ssZ in my xlst file.
    the following info are necessary,
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:java="http://xml.apache.org/xslt/java" exclude-result-prefixes="java"
    version="1.0">
    <xsl:attribute name="generationDate"><xsl:value-of select="java:format(java:java.text.SimpleDateFormat.new('yyyy-mm-dd hh:mm:ss'), java:java.util.Date.new())"/></xsl:attribute>
    but java SimpleDateFormat doesnt support yyyy-mm-ddThh:mm:ssZ.
    thanks in advance.

    Hi wwuest,
    I use the following code to generate such a date format :
              try {
                   SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
                   Date date = sdf.parse(strDate);
                   sdf.applyPattern("yyyy-MM-dd'T'hh:mm:ss");
                   strDate = sdf.format(date);
              } // catching the parse exceptionMaybe you could try this method and see if it pass through xsl with :
    new SimpleDateFormat("yyyy-MM-dd").applyPattern("yyyy-MM-dd'T'hh:mm:ss'Z'")Bye

  • ICal 'Show time in month view' Month view missing text!

    Hi I hope you can help me!
    Since syncing to .mac last week my calendar has developed a problem which is happening on both of my Macs.
    Some of my entries and particular words are not displaying properly when I enable 'Show time in month view'. Words at the end of the entries are missing! (they are fine with the times disabled). Can someone please offer an insight into this as I just bought my Mac and use it for my business.
    Thanks in advance.
    Aaron

    I have the same problem. I want to print the month view like it was in my older version of Ical and it won't do it. I want to print what I see.

  • Does calendar month view show times

    I'm sure I'm not going crazy but I could have sworn that, until late last night, my iPad 2's calendar when in month view showed event times.  Similar to what you see when you check the "show times in month view" box when in iCal.  I am pretty sure that that function was on my iPad 2 prior to my downloading iTunes 10.3.1 beta because I keep my iPad near the kitchen phone so that we can 'check the calendar.'  Now it is not there.  The folks at MME support didn't have an iPad to check and they suggested that I go to a local Apple store and see if the ones in the store had this function.  I did and they did not.  
    I spoke with a genius at the Apple Store and he couldn't verify whether that was ever a function of iOS on the iPad.  I did tell him that my iPad had been having some strange things happen on the display when I activated the calendar on the iPad.  Events would appear, disappear, then reappear sort of in an wave.  I am not sure as to the timing of this as to whether it was pre iTunes 10.3.1 beta or after I installed it.  
    HELP!  Was I just seeing things?  Or was it there and now gone?
    G-N

    Thanks for the wild and crazy ideas.
    I did remove any events that span midnight and it did not help.
    I looked at the DbFixit program. Since it corrects problems in the Palm and not in Palm Desktop I believe it is not relevant. The reason I belive the palm device is not involved is because of the following test:
    I removed all previous Palm Desktop versions
    I removed all registery entries for both Palm, PalmOne, and the USB (as specified by a chat session with Palm)
    I removed all data directories including \Program Files\PalmOne, \Program Files\Palm, and \Palm
    I removed all instances of data in the Documents directory
    I did a cold boot of the computer
    then...
    I did a fresh install of Palm Desktop
    I typed in a year's worth of data
    I did not sync or otherwise connect a palm to the system
    I selected month view
    The system crashed!
    I believe this takes the Palm device completely out of the loop. This problem occurs when typing data in Palm Desktop from the keyboard.
    I appreciate any ideas, and will follow up on them.
    Thanks again
    Jack Cornelius
    Since no Palm was involved, the corruption must have occured in the Palm Desktop program itself.
    Post relates to: Tungsten E2

  • Show times in month view?

    Hey all! Just made the switch from Outlook to iCal and am wondering when you're in the month view if you can have the individual entries show the time. Thanks so much!

    hmmm4321,
    Welcome to Apple Discussions.
    It seems that iCal>Preferences...>General>"Show time in month view" may be what you are looking for.
    ;~)

  • Events not showing time in iCal

    I just lost my hard drive last week and now I'm re-entering everything. I'm trying to put my calendar events back into iCal and it no longer shows the time next to the event on the calendar. It used to say for example: "Dr. Appt-3:15" but now it only shows the event and not the time. Is this a change in the last week or do I have some sort of glitch? I do not want to have to click on an event to see the time, I want to just see it all at a glance. I have done all updates.
    Also, maybe someone could explain to me the difference between "New Calendar" and "New Calendar Group"?

    Hi,
    Welcome to Apple Discussions.
    Is this in Month view? Go to the iCal menu and open Preferences. Under General there is a check box for 'Show time in Month view.'.
    Calendars are how you group events (i.e. make them the same colour). Calendar Groups are how you group calendars (you could have a 'Work' group and a 'Play' group with multiple calendars under each), you can then easily show and hide sets of calendars.
    Best wishes
    John M

  • I want to get my albums showing in a list format. How do I do that?

    I want to have my albums show in a list format, How do I do that?

    Locate your file and double click to open it in Preview. Afterwards......
    If you are using any other app for pdf files let me know.

  • Convert date/time to GMT format

    Hi,
    I want to convert my current system date to GMT format. the class java.util.Time/Calender have methods which help u to convert from GMT to local time.
    is there a method to convert from current System Date to GMT.
    tx in advance

    i found the answer to my earlier question from the postings. Now i need help with the format og the Date in GMT.
    i used the following code to get the GMT based on the system time
    Calendar here = Calendar.getInstance();
    int gmtoffset = here.get(Calendar.DST_OFFSET)
    + here.get(Calendar.ZONE_OFFSET);
    //to convert to GMT time
    Date GMTDate = new Date(System.currentTimeMillis() - gmtoffset);
    the result of exceuting the following code is
    GMT Date is Mon Aug 20 18:39:19 EDT 2001
    but i need the GMT time in this format
    20010820-18:39:40
    tx
    Namrata

  • I need to get the Current System Date and time in the format

    I need to get the Current System Date and time in the format
    *6/24/2009 11:30:29 AM*
    How do i do it ?

    I seem to be saying this a lot lately.
    Google is your friend.
    I googled "java current date format" and SimpleDateFormat featured prominently in the results.

  • How do i show time/date stamp at start of each clip

    This may be a camera issue, not imovie, not sure. My (sony dcr-hc21) camera records but doesn't show time/date at start of each clip (my old non-digital camcorder used to show them for a few seconds). is there a way to get imovie to show these time stamps? I'm using imovie 3.0.3.
    emac   Mac OS X (10.3.9)  

    Hi r
    There are no stright forward - cost free way to get this to my knowledg.
    - I think You can buy a plug-in for this. (Not sure)
    - A quality redusing way is to copy from camera via analog cable to a
    VHS-VCR then reimport to a fresh miniDV tape and using this. If You
    just want some sec. with date and time You can cut between old and
    new material but the quality change will be more noticable this way.
    - Some people has two miniDV cameras and do an analog connection
    via them. Smart.
    Yours Bengt W

  • Actual date hours PROBLEM - Displaying or not "Show time" in "User preferences"

    Hello,
    This is my current issue. I have a 5 days calendar with hours 7AM -> 8PM.
    AM ->When I check "show time" in "user preferences", I show the good hours in ES and EF. When I apply AS and AF, AUTOMATICALY the good default hours are applied if i change the date (7AM -> 8PM)...
    But, if i check, "do not show time" in "user preferences" and then i apply AS and/or AF changing date, PRIMAVERA apply automaticaly 00:00 in the hour ans "forget" the hours of the calendar...
    It represent a big big problem for me, first of all in the gantt representation.
    Any idea to fix this issue ?
    Thanks

    I think you need to do setting in grantt chart view setting..as Day,Week,Month in stead of user preference as " do not show time".

  • Can the calendar on the ipad show a 12 hour format instead of 24 hour?

    I want my calendar on my ipad to only show a 12 hour format instead of a 24 hour one. Is this possible and if so how do i change it?

    I'm sorry - I misunderstood you. You only want to see the first 12 hours of the day. Is that correct? If that is what you want to do, I don't think that's possible to remove 12 hours from the calendar view.

Maybe you are looking for

  • Mail crashes when I try to open it

    On Saturday Mail crashed, and unless I hold down the SHIFT key, it always crashes when I try to open it. When I hold the SHIFT key down, it opens, but crashes as soon as I click a folder Here is a copy of the error log: Date/Time: 2006-10-02 18:44:16

  • Is this a good standalone music production software?

    I am trying to decide between what DAW to get well the first choice is not really a DAW as people say. Anyway it's between Reason 4 and Logic 8. I downloaded a demo of Reason and instantly liked it. But I have seen someone use Logic and it seemed lik

  • Problem with Nokia 5610 XpressMusic

    When I listen Music a sound "Pit-Pit" is started. so i can dusterbed when i hear any song. please help me

  • Floating point numbers into XML file

    Hi, I am a learner in Labview and I am using Labview 8.5 version. when I use FlattentoXML component to convert floating point numbers ( having more than 5 decimal points) into XML, the output contains alway 5 decimal points. But, I want exact decimal

  • Dual GWIA agents

    I am running GW7.03HP1 on a NetWare 6.5 server (MTA, POA, GWIA & WebAccess). I created a second GW domain and installed MTA & GWIA on a SLES 10 SP3 server. On the GroupWise System, I set the SECDOM.GWIA2 as the Internet Agent for outbound SMTP/MIME a