Current date format

Hello-
This seems like it should be so obvious and simple.  I want the current date to pop up on a form letter.  However, my only choice seems to be the format of 1/11/11.  This isn't very professional looking, so I would like it to be 'January 11, 2011'.  Why can't I override the format on the Calculated - Read Only or Runtime Property of the Object Value Type section???
Sorry if this is an old question - seems so silly.
Thanks for any info!!

Thanks Geo - that worked!
Even added the current time in a separate field using:
Num2Time(Time(), "hh:MM:SS A")
Is there a way to output the date AND time in the same form field?
I tried entering:
Num2Date(Date(), "D MMM YYYY") Num2Time(Time(), "hh:MM:SS A")
But it did not work...

Similar Messages

  • Convert the current date format.

    Hi All,
    I am working on database 11g. My nls_data_format is 'DD/MM/YYYY'.
    SQL> SELECT SYSDATE FROM DUAL;
    SYSDATE
    21-04-2009
    I would like to get the data format as 'MM/DD/YYYY'. I am using the to_date function but getting the error.
    SELECT TO_DATE(SYSDATE,'MM-DD-YYYY') FROM DUAL; Also after adding the to_char I am not getting the correct data format. Could any one suggest how I can get the data in correct format.? Also I changed the nls_date_format, still getting the same date formt.
    Thanks
    SUN

    User SUN@ wrote:
    Thank you for your replay.
    I want in date mode, not in charector, because after that I am doing calculation on these dates.
    Thanks
    SUNSo, don't worry about the format!
    If you've got a date that's in DATE format, you don't need to worry about what that format is; it's purely internal to Oracle. Since we're not an Oracle database, any time we refer to a date, we do so as a string (eg. 20th April 2009, 20/04/2009, etc). Any time Oracle outputs a date to us, it must convert the date into a string so us humans can understand it - it does this either through the explicit to_char() function that we specify or implicitly according to the nls_date_format parameter.
    So, you only need to worry about formatting dates:
    a) when you convert a date-as-a-string to Oracle's DATE format (eg. to_date('01/01/2009', 'dd/mm/yyyy') )
    b) when you're displaying a date (eg. to_char(sysdate, 'dd/mm/yyyy') )
    If you're manipulating dates, you can leave them in the same format: eg, sysdate + 2, add_months(your_date_col, 3), trunc(your_date_col), etc

  • Date format on report

    Hi Everyone!
    I have a date format that is in the footer of my report. The format is set with the following: fmDay Month DD RRRR HH:MI AM and this is what I want, but when it prints out I get the following: Monday September 24 2001 11:0 AM . I would think I should get Monday September 24 2001 11:00 AM . I need the other part of the minute to show up. Now, it does show up if I have Monday September 24 2001 11:15 AM. I really need for the whole date format to show up. If I change the format to mm/dd/rrrr HH:MI AM then I don't get the day which I really need to show up in the footer.
    Thanks in advance for your help.
    ~Vannette ([email protected])

    Please change your current date format [to]
    fmDay Month DD RRRR fmHH:MI AM
    Neeraj Vannette -
    To explicate, recall that FM is a toggle. Your first
    FM set the format to suppress all blanks and leading
    zeroes, so 11:01 became 11:1. The added FM sets back
    to normal mode, so everything after the first FM is
    zero/blank suppressed, after the second FM is not.
    -- allan plumb

  • How to change the date format from default to mm-dd-yyyy?

    Hi,
    There is a requirement to show the current date in an error message at the attribute level. That is, if the user input a date in a text field that is earlier than today's date, then an error message must immediately pop up with today's date in the message. To achieve this we are using a token expression in the EO ( Under Validation rules) . The token expression uses adf.currentDate to get today's date.
    The problem is that the expression extracts the date in the form of yyyy-mm-dd. What expression should I use to get the current date format in mm/dd/yyyy ? Can I modify the adf.currentDate expression in some way to get the desired format?
    Thanks,
    Anand

    You could write a custom EO method to return today's date in the specific format. Then access it via the Groovy adf.object expression.

  • Error in SQL Date Format Mask

    Hi,
    I am facing problem in validation data in FDQM.
    When I am trying to validate data,I am getting an error as ' An Error occured.Please verify that SQL Date Format Mask is correct'
    The current Date Format in our application is YYYYMMDD.
    I did not have this problem earlier in validating data.This problem is occuring now only and also this error is coming for few entities only.
    Could any one suggest me on how this can be resolved.
    Thanks

    Hi Kelly,
    I checked periods in control tables and there are no duplicates.
    The Period Date Format Mask is MMM-YYYY where as the SQL Date Format Mask is YYYYMMDD.
    These settings are there since the time I created application.Has it got anything to do with database.
    Appreciate your quick response
    Regards,
    Mrudula

  • Date Format was not displayed correctly

    Hi All,
            We are developing WebDynpro Application successfully....but the date format was not displayed correctly.
    the RFC Date format is : 05/23/2007
    but in webdynpro we are getting date is wrong....we are getting date is : 09/05/2008.
    the below one is our coding for date display format.....
    public java.lang.String DisplayingDateFormat( java.lang.String date )
        //@@begin DisplayingDateFormat()
                        // Current date Format in BW
    SimpleDateFormat sdf = new SimpleDateFormat("MM.dd.yyyy");
    String ChangedDateFormat=null;
    try{
    //Parsing String to Date
    Date sqlDate =sdf.parse(date);
    Locale userLocale=WDClientUser.getCurrentUser().getLocale();
    DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.DEFAULT, userLocale);
    //Converting Date to String
    String newDateString = dateFormat.format(sqlDate);
    ChangedDateFormat=newDateString;
    I mention my user country is Germany.
    can u tell me any one why we are getting wrong date.....
    Really i appreciate.
    Thanks and Regards,
    Abhiram.

    Too bad you can not offer yourself points. LOL

  • Date format in webi

    Hi Experts
    I am unable to change my current date format that is in 10/12/2010 into 10th December 2010 in webi . Pls help me to solve this.
    One more thing is that in one of the pdfs i could come across the following
    DayNumberOfYear
    Description : Returns the number of the day in the year in a date
    Syntax:integer  DayNumberOfYear(date  input_date)
    Output
    The number of the day in the year
    Example
    DayNumberOfYear([Reservation  Date]) returns 349 when the date in
    [Reservation Date] is 15 December 2001
    My question is
    What is this reservation date?
    For the whole Date and time function he used this reservation date as the object.I couldnt follow this..
    Try to explain it with an example.. i mean the procedure that i need to follow in order to get this.?
    Thank you
    Regards
    sharath

    You should use a formula in a variable to get your desired format. I am going to assume you have an object in your universe called Date or
    [Date]
    as it will appear when used in a Webi formula. To get the date format:
    = substr([Date];0;2) & Month([Date]) & substr([Date];6;11)
    Also, the code to return the number of the day in the year:
    = DayNumberOfYear([Date])
    The example was using
    [Reservation Date]
    as an example of a Date type object in Webi. It could equally have been
    [Posting Date]

  • Get current date

    Strange thing here, in a view i want to add a column with the current date, format needs to be europ.
    select
    CONVERT(date ,getdate(),103) as datum
    Result:
    2015-01-22
    I would expect it as:
    22-01-2015
    What's going wrong here?

    You have data type "date" and a date don't have a specific Format; it's always the frontend which formats the date; and SSMS uses ISO Format for representing dates.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Date Format(4.6c)

    Hi,
    I  need to assign my date field in this format '09/09/2008'to a standard FM.But my current date format is '09092008'.
    Note:My required date format has to be assigne to sy-datum which is of 8 char long.

    Hi,
    Please try the below code
    ld_curr_date = '09092008'.
    concatenate ld_curr_date0(2) '/' ld_curr_date2(2) '/' ld_curr_date+4(4) into ld_date.
    Now you can use this ld_date in ur FM.
    say u get the output from ur FM in variable ld_date1 with format '09/09/2008'
    convert it to sy-datum.
    concatenate ld_date16(4) ld_date13(2) ld_date1+0(2) into ld_date2.
    now ld_date is of char 8 length.
    Note: ld_date and ld_date1 would be of length 10.
    Regards,
    Surinder

  • Date format disappears after 3 or 4 executions

    Hi
    My requirement is that i have to set my "current date" format as yyMMdd, setting this format is fine. It executes also normally with  the desired output. After executing 3 or 4 times, the target format of my date ,ie yyMMdd disapears and hence the output is a blank. its a bit weird.
    Any idea why this is happening.
    Thanks in advance
    Saiyog

    Hi,
    I beleive you are using Graphical mapping and Date is disappearing after producing the values for earlier occurences of field.
    The only reason due to which it can happen is that you are not handling the context of occurence of source field. The occurence of source date should be equal to occurence of date field n target.
    you may need to write some UDF or You can use SAP standard functions to achieve it.
    Kulwinder
    Reward if helpful

  • Data format convertion

    Hi
    current data format
    COL1    COL2
    1,2       A
    3,4       B
    5          Crequired data format
    COL1    COL1
    1          A
    2          A
    3          B
    4          B
    5          Cthank you

    Probably the most frequent of the all the questions asked on this forums, a simple search would have prevented you from posting this Question, isn't it?
    with data as
      select '1,2' col1, 'A' col2 from dual union all
      select '3,4', 'B' col2 from dual union all
      select '5', 'C' col2 from dual
    select regexp_substr(col1, '[^,]+', 1, level) col1, col2
      from data
    connect by level <= length(col1) - length(replace(col1, ',')) + 1
           and col1 = prior col1
           and prior dbms_random.value is not null;
    COL1 COL2
    1    A   
    2    A   
    3    B   
    4    B   
    5    COr, was it pure laziness to obtain a Ready-to-Eat recipe?

  • How to get current date in a specified format ?

    Hi,
    I want to get the current date (java.util.Date()) in the format yyyy-MM-dd HH:mm:ss.
    Can you please tell me as to how to get that ?
    Regards

    I have used the same and the code looks like this. But i am getting java.text.ParseException : UnParseable Date: "Fri Jul 11 13:29:43 CDT 2003"
    The Code is :
    java.util.Date sysDate = new java.util.Date();
    SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    String formatted_date = df.format(sysDate);
    It is erroring out in the last statement !!

  • Trasnform current date to format MM/dd/yyyy HH:mm:ss AM/PM

    Hi All,
    How do I transform current date to format MM/dd/yyyy HH:mm:ss AM/PM?
    I am able to get the format MM/dd/yyyy HH:mm:ss by using the standard date function. How do I get AM or PM to end of MM/dd/yyyy HH:mm:ss??
    Thanx
    Navin

    Hi Navin,
    How AM/PM is added? In the sample values given its in 24 hrs notation. Are u sure you want to add AM/PM to this notation? or U want to change this 24 hrs notation into 12 hrs and add AM/PM?
    For converting into 12 hrs and appending AM/PM you can use this code:
    input a:
    int hr = Integer.parseInt(a.substring(11,13));
    String appendVal = "AM";
    if(hr > 12){
       hr = hr - 12;
       appendVal = "PM";
    } else if(hr == 12){
       appendVal = "PM";
    } else if(hr == 00){
       hr = hr + 12;
    Sting finalVal = a.substring(0,11) + String.ValueOf(hr) + a.substring(13,a.length()) + appendVal;
    return finalVal;
    Regards,
    P.Venkat
    Message was edited by:
            Venkataramanan

  • Problem in getting current Date at runtime and parsing into my own format

    Hi all,
    In my program....I want to get the Date(current Date).......
    How can I get it....
    And also I want it to change it to my own format.....
    I should get this at runtime....
    Plz tell me which class and method to use....
    Any help will be greatly appreciated...
    Thanks,

    Try looking at some of these articles:
    http://www.javaworld.com/javaworld/javaqa/2001-10/01-qa-1005-dateformat.html
    http://www.javaworld.com/jw-12-2000/jw-1229-dates.html
    http://www.javaworld.com/javaworld/jw-03-2001/jw-0330-time.html

  • Current date in JSP in specific format....

    I want to view the current date on a JSP in the format YYYY-MM-DD
    I know how to get the current date
    <%= new Date()%>
    But how can I get the current date in the format specified above.
    Any help please??

    Thanx leo_pruna! I got the answer and here it is for anyone whose interested.
    import 'java.util.*, java.text.*'
    <%
    Date today;
    String output;
    SimpleDateFormat formatter;
    formatter = new SimpleDateFormat("yyyy-MM-dd");
    today = new Date();
    output = formatter.format(today);
    %>
    And show it anywhere on your page like this...
    <%= output%>

Maybe you are looking for

  • Jabber for Windows SSO

    I'm using Jabber for Windows with a Webex backend for IM&P with CUCM and Unity Connection on-site. It looks like I can use SSO for logging into Webex with Jabber but I wanted to confirm if it will also work for logging into CUCM with the phone servic

  • Disabled Apple ID? Wrong birthdate? Read this, I fixed it on my iPhone 4

    My apple ID on my iPhone 4 to defaulted to my other email address and my birthdate was input wrong. After months I fixed it last night. It was disabled for security. Figuring this out has taken months and ruined many days to frustration. I hope this

  • JCo Monitoring

    Hi All,      We want to make sure that the JCo’s are up and running, so we want to create a webdynpro application that can test each JCo and return a success or failure flag.   Is there any way to pick up all the JCo's  and the application dynamicall

  • How to include animated files?

    i want to create an applet where by selecting a particular radiobutton i get an animated object i saw a lot of gif files on internet and wanted to include them but when i save them on my PC they dont animate rather they are still pictures how do i in

  • What is the role of ABAPer in Change pointeru0092s technique?

    What is the role of ABAPer in Change pointer’s technique?