Converting Date-Time to Long Date in a string that is stored in a formula

The following are 2 verions of formulas that I've tried in placing the long date on a report.  I want the JUD_T_MEETING_NOTICE.MEETING_DATE to be displayed on the letter if Outcome_ID = 3.00 as April 29, 2009.  The field's fomat in the table is 04/29/2009 and neither of the formula's below worked.  I tried formatting the date as a separte formula, as shown in Formula #2 below, but the formatting defaults to the original DataType.  Anyone have any ideas on how to format the date within the string in the formula?
FORMULA #1:
IF {JUD_T_MEETING_NOTICE.FK_OUTCOME_ID} = 3.00
THEN 'I received the enclosed report(s) for review.  To resolve this matter, you must contact the office at ' & {@HallPhone} & ' to schedule a meeting to discuss the incident with me.  This meeting must occur by ' & DATETIMETODATE({JUD_T_MEETING_NOTICE.MEETING_DATE}) & '.  If you have a conflict with this deadline, please let me know as soon as possible to make alternative meeting arrangements.'
ELSE IF {JUD_T_MEETING_NOTICE.FK_OUTCOME_ID} = 9.00
THEN 'You missed your scheduled meeting.'
FORMULA #2:
IF {JUD_T_MEETING_NOTICE.FK_OUTCOME_ID} = 3.00
THEN 'I received the enclosed report(s) for review.  To resolve this matter, you must contact the office at ' & {@HallPhone} & ' to schedule a meeting to discuss the incident with me.  This meeting must occur by ' & ({@FormatMeetingDate}) & '.  If you have a conflict with this deadline, please let me know as soon as possible to make alternative meeting arrangements.'
ELSE IF {JUD_T_MEETING_NOTICE.FK_OUTCOME_ID} = 9.00
THEN 'You missed your scheduled meeting.'

Assuming JUD_T_MEETING_NOTICE.MEETING_DATE is a date field, modify your formula to:
totext(({JUD_T_MEETING_NOTICE.MEETING_DATE}),"MMMM dd, yyyy")
If it is not a date field but a string, then
totext(cdate(JUD_T_MEETING_NOTICE.MEETING_DATE ),"MMMM dd, yyyy")

Similar Messages

  • Formscentral - how do I change required date format to long date (e.g. January 2, 2014) in a form field?

    Formscentral - how do I change required date format to long date (e.g. January 2, 2014) in a form field?  I can't seem to change it from the short date format.

    Hi,
    I would suggest you to change the form language to English (UK), Here are the steps:-
    1. Open your form in FormsCentral
    2. Clik on Options tab
    3. Click on Language and Formatting and check out the selection for Form Language and make sure English (U.K.) is selected and the default date format should be day/month/year.
    Regards,
    Nakul

  • Select Records between Begin Date/Time and End Date/Time

    Hi, I need to select records from table GLPCA where the CPUDT and CPUTM are between a START DATE/TIME and END DATE/TIME. 
    I have the below logic from an SAP Solution, but it doesn't seem to be working right in my opinion.  It is picking up records earlier than the date ranges.  Can anyone tell me how I might be able to accomplish this?  I'm hoping this is an easy one for the ABAPPERs... 
    Thanks,
    START DATE 20091022
    START TIME 125736
    END DATE 20091022
    END TIME 135044
    CPUDT 20091022
    CPUTM 100257
          SELECT * FROM GLPCA
             WHERE ( CPUDT >= STARTDATE AND ( CPUTM >= STARTTIME OR ( CPUDT <= ENDDATE AND CPUTM <= ENDTIME ) ) ).

    Thank you all!  I ended up using the following:
    SELECT * FROM GLPCA
              WHERE RYEAR IN L_R_RYEAR
                AND ( ( CPUDT = STARTDATE AND CPUTM >= STARTTIME ) OR CPUDT > STARTDATE )
                AND ( ( CPUDT = ENDDATE   AND CPUTM <= ENDTIME )   OR CPUDT < ENDDATE ).
    This child was born from the following thread that was found:
    update date and time of client record

  • UTC Date Time and Normal Date Time

    Hi All,
    1. How UTC date time and Normal date time differs in siebel.
    2. If legacy data needed to be loaded into siebel, in siebel few fields are date time and UTC date time fields. what would happen if we load both normal date time and UTC date time without considering them techinically?
    3. UTC date time holds any specific format in physical database? If we want to load legacy data to UTC date time format what is the query to manipulate it?
    Thankyou
    Sean

    Sean,
    Please check document below, I believe it has most of the answers to the questions you have:
    http://download.oracle.com/docs/cd/E14004_01/books/GlobDep/GlobDepUTC.html
    Hope it helps,
    Wilson

  • Convert millisecond time value to date

    If i have a millisecond time value, say long timeValue, how do I convert this value to a time and a date?

    Or directly set a new date using the constructor
    Date(long date)
    Allocates a Date object and initializes it to represent the specified number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT.
    N.B. - Note that the Date class method to set a date from a long is:
    setTime(long time)
    Sets this Date object to represent a point in time that is time milliseconds after January 1, 1970 00:00:00 GMT.
    setTimeInMillis() is a Calendar method , only.

  • Converting a date time to a date only

    Post Author: Dockman
    CA Forum: Formula
    I am working on a report that has a running total field.  The running total field keeps a running total and resets every time that a date changes.  the problem is that my dates include times, therefore the running total resets on every line.  How can I convert my date (in date time format) to be only a date so that it does not reset on every line?
    Obviously, I am not a programmer so I apologize if this is a stupid question.

    Post Author: yangster
    CA Forum: Formula
    if you are doing it inside crystal you can use the date functiondate({your.datetimefield})if you are doing it at the db level in a command this will vary depending on your db

  • Convert utc time to oracle date

    Hi ,
    I want to compare two dates the date passed in will be say '0303090000000' with a dur_date I have in the table X .
    dur_date is a DATE type ...
    How can i do this in oracle?

    Hi,
    Should I not use to_char(dur_date 'yyyy-mm-dd hh24:mi:ss') ?No, you should do it the other way around, convert passed string into DATE.
    But what format is this string in?
    '0303090000000'It seems to be one character too long, and it is unclear what it means. Depending of what meaning you put into it, it can be either one of these:
    SQL> alter session set nls_date_format = 'dd-MON-rrrr'
    Session altered.
    SQL> select to_date('030309000000', 'ddmmyyhh24miss') date_ from dual
    union all
    select to_date('030309000000', 'ddmmrrhh24miss') from dual
    union all
    select to_date('030309000000', 'mmddyyhh24miss') from dual
    union all
    select to_date('030309000000', 'mmddrrhh24miss') from dual
    union all
    select to_date('030309000000', 'yyddmmhh24miss') from dual
    union all
    select to_date('030309000000', 'rrddmmhh24miss') from dual
    DATE_      
    03-MAR-2009
    03-MAR-2009
    03-MAR-2009
    03-MAR-2009
    03-SEP-2003
    03-SEP-2003
    6 rows selected.But probably not 'yyyy-mm-dd hh24:mi:ss'
    Regards
    Peter

  • Convert labview date/time to excel date/time

    How do I convert the "seconds since 1904" from the function "Get Date/Time in Seconds" to an MS Excel date/time format? The application runs in the Solaris environment.

    hi, I am not sure about Solaris env.
    Maybe this will help in one way or another.
    Regards
    ian.f
    Sg/My
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    GetDatenTime_to_File.vi ‏48 KB

  • Function module for converting German Data/Time to Indian Date/Time

    Dear All,
    My requirement is to convert German date and time to Indian date and time. Is there any function module available or any way we can get it?
    Thanks and regards,
    Atanu

    hi,
    first get the timezone of that country
    CALL FUNCTION 'TZON_LOCATION_TIMEZONE'
          EXPORTING
            if_country        = p_it_userid-zcountry
          IMPORTING
            ef_timezone       = l_tzone
          EXCEPTIONS
            no_timezone_found = 1
            OTHERS            = 2.
    then use the below statements
    -- Convert from server time to GMT
          CLEAR l_tstmp.
          CONVERT DATE l_datum
                  TIME l_ctime
             INTO TIME STAMP l_tstmp TIME ZONE sy-zonlo.
    *-- Convert from GMT to user backup time
          CONVERT TIME STAMP l_tstmp TIME ZONE it_usr_timezone-ztzone
            INTO DATE it_usr_timezone-zdate
                 TIME it_usr_timezone-ztime.

  • ABAP statement for converting UTC date/ time to local date/time

    Hi
    Is there any abap statement or any function module in BW which converts UTC date and UTC
    time into local date and local time according to specific country.
    Regards,
    Kate

    Hi,
    and to convert the country to a timezone first use: TZ_LOCATION_TIMEZONE
    /manfred

  • Sorting photos by date/time taken, when date/time created is not an option?

    I'm so sorry if this has been answered elsewhere, but I can't find it on Google or in the forums...
    I need to sort wedding photos from multiple photographers by date taken so I can sort through the wedding as a full event. Sorting by the date/time the file was created will not suffice because I had to convert all photos from one of my photogs from NEF to DNG (D610 files not compatible with CS5), so the 'date created' for those DNG file is days later than all the other images. Thus, sorting by "date created' batches all the photos from one of my photogs together at the end.
    Is there any option in Bridge that will actually read the metadata and sort by the shoot time of the image?
    Thanks for any help!

      There has been a known bug in PSE9 although only affecting raw images and caused by the Camera Raw 6.4 update. The timestamp gets changed by one hour each time an image is modified. I don’t know if your issue is related but the work around is to revert to ACR 6.3
    http://kb2.adobe.com/cps/915/cpsid_91582.html
    The only other work around is to temporarily switch to folder location view, if your images were imported from a single folder. Click on the display button (near top right in Organizer) to change the browser view. If you click on the folder in the left hand pane the files will normally be in sequential file name order which usually mirrors the date/time taken. From the folder location it’s possible to create an instant album, which can then be used as the basis of a slideshow.

  • How to insert a data&time to Database date field

    Dear Friends,
    I have created a Stored Procedure which takes a Date data type as an input,When i call this procedure from java i need to set the data&time in
    yyyymmddhhmmss format. How to set this from java ?.
    Rgds
    Mohan S

    How to set this from java ?.Usually you use a prepared statement and one of the set methods.
    Or you can use setString() and format the date yourself using SimpleDateFormat.

  • Selection based on previous run date , time and current date a

    HI all,
    I have the selection as follows.
    Previous run date :  .12/14/2005..                     previous run time-14:30:56
    current run date : 12/17/2009.                      current run time: 07:05:31
    Here all are parameters. and  current run date is system date  and   current run time is system time.
    i want to fetch all the deliveries from the above selection including previous run date and time.
    Any inputs..

    Hi
    Append current run data and previous run data into a data range parameter,Current time and previous time into time range parameter and fetch the data based on the range parameters.
    Regards
    Srilaxmi

  • Convert Date Time field to Date & Time

    Post Author: Smita
    CA Forum: Crystal Reports
    I am new to Crystal XI  . I need to convert DateTime ("2007/04/04/04 09:49:05:00") format to Date and Time and then group a months data first by date and then by Time ( per Hour ).
    If someone can help ?
    Thanks

    Post Author: newcruser
    CA Forum: Crystal Reports
    Thanks
    This is easy...second group based on the second formula 'for each hour'.
    How you group by 15 minutes?.
    i want to group by every 15 minutes starting from 9 AM to 5 PM.
    First i need to create a time range and then use that time range to group?.  Or any other simple and best way to solve this?. Please help
    How to create time range from 9 AM to 5 PM?

  • Convert date time to file date time

    Hi,
    I have standard delphi function which conver datetime to filedatetime here is the description
    function DateTimeToFileDate(DateTime: TDateTime): Integer;
    Description
    Use DateTimeToFileDate to convert a TDateTime value, which is the representation of date-and-time values used by the VCL, to a DOS date-and-time value.
    For example, use DateTimeToFileDate to convert a TDateTime value to a
    format that can be used as the Age parameter of FileSetDate. You may
    also need to use DateTimeToFileDate to convert a TDateTime so that it
    is compatible with the Time field of the TSearchRec record used by the FindFirst
    and FindNext functions.
    Lo returns the low-order Byte of the argument X as an unsigned value. X is an expression of type Integer.
    Use Hi to obtain the high-order byte of an expression of type Word or Integer.
    Note:     Hi treats Integer as a 16-bit value, even if it is 32-bit.
    This is the delphi code that convert the date
    year=2003
    month=5
    day=28
    sec=57
    min=45
    hr=13
    msec=107
    LongRec(Result).Lo := (Sec shr 1) or (Min shl 5) or (Hour shl 11);
    LongRec(Result).Hi := Day or (Month shl 5) or ((Year - 1980) shl 9);
    output Result is --> 784100796
    Any help will be highly appreciated.
    Thanks.

    You use the java.util.GregorianCalendar to extract month, day, etc from a date.
    Then you use the shift operator ('<<') to construct the number.

Maybe you are looking for

  • IMac G4 Flat Panel Will NOT Mount Leopard Install DVD

    I'm trying to install Leopard (MacOS X 10.5) onto a 1 GB 1.25 GHz iMac G4 (flat panel) from an install DVD. Any ideas why it doesn't mount? After a minute or so and several spins and arm accesses the iMac ejects the DVD. Maybe this is a dual-layer DV

  • Syncing by Audio

    Hi there, When syncing by audio, what's happening when I offset the audio frames from the video frames? I was looking around for official documentation on this, but couldn't find any. I'm thrilled that the new Premiere Pro CC (7.0.0) can sync by audi

  • Multiple select-option

    Hi gurus, I would just like to ask for your ideas on how can I output in ALV the multiple entries in your select-options. Here's the scenario, I have a select-option which is unit of measurement and it can have a multiple entries. The requirement is

  • CRM 2013 - How to set a Proxy server for plugins to run with?

    We have several plugins that need to query web services on the Internet, and I need them to go through a specific proxy server.  How do I set this without hard coding the proxy into the plugins?  I've tried adding the proxy to the machine.config, I'v

  • Cashed checks not posted in fb05

    hi we receive paid file from banks, we process them and send the checks to customers, when they are cashed those checks are not posted in fb05. can anyone please help me with this.