Date format in workflow email

Hi All,
I'm having issues with the date format within an automated WorkFlow email. For Leads, users in the UK are entering the 'call back date' field as '26/06/2009' and in the email it seems to base this on the server locale appearing as '06/26/2009'. Can we format this within the code?
Thanks
Oli @ Innoveer

I have just experienced this and used the following to convert the date to Australian format for my workflow email
%%%Mid([<IndexedDate0>],4,2) + '/' + Left([<IndexedDate0>],2) + Mid([<IndexedDate0>],6,Len([<IndexedDate0>]))%%%
this gives format DD/MM/YYYY
hope this helps,

Similar Messages

  • How do i change the date format on an email?

    When my emails load the date shows as mm/dd/yyyy as this is not a format i use how do i change it to dd/mm/yyyy ?
    I had to reinstall Thunderbird and the date problem has just started from the reinstall.
    Thank you for your help.

    TB uses the short date format as set in your OS control panel, e.g. in Windows, Region and Language. There is also an add-on:
    https://addons.mozilla.org/en-us/thunderbird/addon/configdate/
    http://kb.mozillazine.org/Date_display_format

  • Date format in Email notifications

    Service Desk 7.01
    Windows 2008
    MS SQL DB
    When the notification emails are sent out to the user, the date format is in US format (mm/dd/yyyy) and we would like it to be Aus format (dd/mm/yyyy).
    I have set the Default Date Style under Setup > Customer and in Setup > Email > Templates Date Style at the bottom of the window, but it is still showing as the US format.
    Is there another place that it needs to be changed?

    Originally Posted by Madgwicks
    Service Desk 7.01
    Windows 2008
    MS SQL DB
    When the notification emails are sent out to the user, the date format is in US format (mm/dd/yyyy) and we would like it to be Aus format (dd/mm/yyyy).
    I have set the Default Date Style under Setup > Customer and in Setup > Email > Templates Date Style at the bottom of the window, but it is still showing as the US format.
    Is there another place that it needs to be changed?
    It is working in my setup. I modified the date format in setup>Email >Templates and selected Email Summary Templates and modified the format in Date Style. Attach more screen shots.

  • Formatting the mail content in the workflow email

    Hi,
    In a workflow i am displaying a currency value.I want to format the currency value in the output. For eg: currently in the workflow email a value is displayed as 20000.0000 but i want it to display as 20,000.00 .
            I have written the code in the method of the business object where i fetch this value such that the value is changed to the required format and is placed in the container element. The value of this container element is then displyed in the mail body.
    I checked and the value does change to the required format and it is placed in the container element also in the required format(i.e 20,000.00)  But only in the email output the formatting is lost and  it is displayed in the original format(i.e 20000.0000).
    Is there any other way to format the output of the currency field. I tried changing the data type to a character string but then the comma does not appear on the output.
    Thanks!
    Regards
    Archana

    Hi,
    amount = 20000.0000
    mail_amount is the variable that you'll use in mail body
    p_curr is the  currency you'll use.
    WRITE amount TO mail_amount CURRENCY p_curr RIGHT-JUSTIFIED.

  • Error with the data format in the TXT file, sending as an Email attachment

    Hi all,
    I have an problem in the data formating in the TXT file while sending as an attachment via an email by using the FM "SO_DOCUMENT_SEND_API1".
    For eg:
    The data in the TXT file is looking like as follows:
    0 0 0 0 2        L O U D S P E A K R   O T H E R   3 8 W h i t e                  0 0
    0031  L O U D S P E A K R   O T H E R   3 8 Black                               0 000
    38    L O U D S P E A K R   O T H E R   3 8 Brown                                  0 00040
    L O U D S P E A K R   O T H E R   3 8 Brown                                         0 00042
    and so on
    But it should come as :
    0 0 0 0 2  L O U D S P E A K R   O T H E R   3 8 W h i t e
    0 0 0031   L O U D S P E A K R   O T H E R   3 8 Black
    0 00038    L O U D S P E A K R   O T H E R   3 8 Brown
    0 00040    L O U D S P E A K R   O T H E R   3 8 Brown
    All the internal tables are correctly filled.
    The code is as follows:
    gwa_objtxt = 'Please find attached DATA EXTRACT Sheet'.
      append gwa_objtxt to git_objtxt.
    describe table git_objtxt lines gv_cnt.
      clear git_doc_data.
      read table git_objtxt index gv_cnt.
      git_doc_data-doc_size = ( gv_cnt - 1 ) * 255 + strlen( gwa_objtxt ).
      git_doc_data-obj_langu = sy-langu.
      git_doc_data-obj_descr = lv_mtitle.
      append git_doc_data.
      clear git_packing_list.
      refresh git_packing_list.
    git_packing_list-transf_bin = space.
      git_packing_list-head_start = 1.
      git_packing_list-head_num = 0.
      git_packing_list-body_start = 1.
      git_packing_list-body_num   = gv_cnt.
      git_packing_list-doc_type = 'RAW'.
      append git_packing_list.
      Clear : gv_cnt.
      Describe table git_objbin lines gv_cnt.
      git_packing_list-transf_bin = 'X'.
      git_packing_list-head_start = 1.
      git_packing_list-head_num = 1.
      git_packing_list-body_start = 1.
      git_packing_list-body_num = gv_cnt.
      git_packing_list-doc_type = 'TXT'.
      git_packing_list-obj_descr = 'ATTACH.TXT'.
      git_packing_list-obj_name = 'book'.
      git_packing_list-doc_size = gv_cnt * 255.
      APPEND git_packing_list.
      clear git_receivers.
      refresh git_receivers.
      git_receivers-receiver = gv_eid.
      git_receivers-rec_type = 'U'.
      append git_receivers.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = git_doc_data
          PUT_IN_OUTBOX              = 'X'
          COMMIT_WORK                = 'X'
        TABLES
          PACKING_LIST               = git_packing_list
          CONTENTS_BIN               = git_objbin
          CONTENTS_TXT               = git_objtxt
          RECEIVERS                  = git_receivers
        EXCEPTIONS
          TOO_MANY_RECEIVERS              = 1
          DOCUMENT_NOT_SENT                = 2
          DOCUMENT_TYPE_NOT_EXIST      = 3
          OPERATION_NO_AUTHORIZATION = 4
          PARAMETER_ERROR                    = 5
          X_ERROR                                      = 6
          ENQUEUE_ERROR                        = 7
          OTHERS                                        = 8.

    please give the code of
    contents bin =  git_objbin " how  this is getting populated.
    0 0 0 0 2 L O U D S P E A K R O T H E R 3 8 W h i t e <b>0 0</b>
    0031 L O U D S P E A K R O T H E R 3 8 Black
    0 000
    38
    from this im not able to understand is this over population or concatenation problem
    y dont u make a append to the final table
    like
    data : begin of itxt occurs 0, ,
    s1(132) type c ,
    end of itxt.
    loop at itab.
    itxt-s1+0(4) = itab-f1.
    itxt-s1+4(6) = itab-f2.
    itxt-s1+10(8) = itab-f3.
    itxts1+18(4) = itab-f4.
    append itxt.
    clear itxt.
    endloop.
    exchange this to the contents bin of hte Fm .
    regards,
    vijay.
    can u please mail the text file and the expected o/p to my mail id [email protected]  so that i can see the same from the data provided i m not able to check the result properly .

  • Email Submit and Data format

    I have been reviewing the following document and have 1 question.
    http://www.adobe.com/devnet/livecycle/articles/lc_understanding_submit_tip.pdf
    Is there a way to customize the data format using a submit button?
    I may have the requirement to have end users submit data through an email submit button, but the client wants the data in the format Fieldname [delimiter of some sort] Fieldvalue, is this possible?  Would you need to manually edit the xml in the form to do this? Any pointers would be appreciated.
    The only options I see in the attributes of the email submit button are:
    XDP
    XML
    PDF
    URL encoded data
    Thank you,

    Hi Paul:
    Currently we are using Acroforms and would use these forms originally.
    In the future, this would be used with LiveCycle so it would probably be an XFA/LiveCycle Designer form. I believe in this case, the best solution would be to do this through a submit using Form Server components of LCES.
    Thank you,
    Working for a Living...

  • Sending workflow email in HTML format

    Hi Experts,
    I'd like to know if it is possible to send an HTML email using the workflow email step and HOW. Sample is displaying the simple table in HTML format:
    <table border="1">
    <tr> <th>Header 1</th> <th>Header 2</th> </tr>
    <tr>
    <td>row 1, cell 1</td>
    <td>row 1, cell 2</td>
    </tr>
    </table>
    Since the hyperlink (<A HREF="http://www.google.com">Google</A>) is working, I want to know if a table will work too.
    My last resort creating a separate program that uses SO_NEW_DOCUMENT_SEND_API1.
    Regards,
    Dexter

    Hello,
    Using SO_NEW_DOCUMENT_SEND_API1 is not a last resort; it's a necessity if you want to send anything but the simplest email from workflow.
    regards
    Rick Bakker
    hanabi technology

  • Email date format

    I have a query regarding the default date format in regard to email messages.
    When sending email the message from my pc appears to the recipient the date format is for example:
    From: me <************@btinternet.com>
    To: Someoneelse <**********@btinternet.com>
    Sent: Sunday, 16 February 2014, 10:28
    Subject: Re: subject.
     When sent from my ipad it is
    From: me <************@btinternet.com>
    To: Someoneelse <**********@btinternet.com>
    Sent: Sunday,  February 16 2014, 10:28
    Subject: Re: subject
    When sent from my ipad it is
    I have an account with my company the date format for this account is always:
     From: me ************@company.org
    To: Someoneelse <**********@company.org.com>
    Sent:16 February 2014, 10:28
    Subject: Re: subject
    What determines the date format? Is it the pc or ipad or are these formats set by the provider?
    Robin

    I think it is set by your device and I don't think you can change the date format in your ipad from US to UK.

  • Using a submit email button and data format

    I have been reviewing the following document and have 1 question.
    http://www.adobe.com/devnet/livecycle/articles/lc_understanding_submit_tip.pdf
    Is there a way to customize the data format using a submit button?
    I may have the requirement to have end users submit data through an email submit button, but the client wants the data in the format Fieldname [delimiter of some sort] Fieldvalue, is this possible?  Would you need to manually edit the xml in the form to do this? Any pointers would be appreciated.
    The only options I see in the attributes of the email submit button are:
    XDP
    XML
    PDF
    URL encoded data
    Thank you,

    I have discussed this with Lori DeFurio, past Acrobat (and PDF) Developer Evangelist, and most recently, responsible for Customer & Field Enablement, who has informed me that this is possible and directed me to these forums for a resolution.
    Has anyone actually accomplished this?  Any information is appreciated.
    Thank you,

  • Receiving email attachments in winmail.dat format

    i am receiving almost all email attachments in winmail.dat format, which cannot be opened. the same attachments are being received on other laptops in the same sent format.what could be the problem?

    What a Winmail.dat File Is, and How to Open It - NYTimes.com

  • Hide 1/1/0001 from Short Date in Workflow email

    All
    Using InfoPath and SharePoint 2010.
    I've various date fields on my InfoPath form which can be left blank. These date fields are published to SP successfully as blank (to the human eye).
    When I place the date field (short date) in a workflow created email, the date returns in the email as 1/1/1/0001 . This I understand is workflow default behaviour.
    Can this value (1/1/0001 be hidden or replaced with a "blank".
    I've 6 date fields in this email, any one of them could be blank. Is there an alternative to write multiple email combinations?
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/cd1f9ae5-9edb-4b66-b3fa-8fbdb1dc6cb9/email-from-workflow-contains-110001-120000-am-for-items-empty-date-field?forum=sharepointcustomizationprevious
    I'm trying to set a variable in place of a blank date fields yet all I get back is an alternative date 1/1/1900.
    Thanks
    W

    Hi Wilkies0105aw,
    I'm also having the same issue. Did you find any solution to hide date 1/1/0001 in the workflow email?
    Please let me know.

  • MS SharePoint 2010 Designer Workflow Email - Enhanced Rich Text Field look-up values on HTML email have large spaces

    MS InfoPath 2010 form with RTF (Rich Text Fields)
    MS SharePoint 2010 Custom Library
    MS SharePoint 2010 Designer Workflow Send Email
    http://office.microsoft.com/en-us/sharepoint-designer-help/send-e-mail-in-a-workflow-HA010239042.aspx
    https://www.nothingbutsharepoint.com/sites/eusp/pages/creating-html-emails-with-spd-workflows.aspx
    Hi all of the above work, our question is how to control the RTF (Rich Text Field) look up values to the InfoPath 2010 form in the HTML email?
    How to FORMAT the RTF look up value? in the HTML email
    EXAMPLE
    we have a InfoPath 2010 form published in the SharePoint 2010 custom list library there are 5 RTF fields (Notes1, Notes2, Notes3, Notes4, Notes5) there are other plain text fields, date fields, and other field types in the form
    We use a HTML table to make the email look like the InfoPath form, so when the users fill out the form and they get the email notification everything looks the same.
    Our problem is the EXTRA LINE SPACE in the RTF look up values
    We want to remove any leading spaces, and line spaces between HTML table cells
    Our Workflow has the HTML in a Workflow variable, as you know it does not support remote CSS it has to be in-line style for any formatting we want all cells to have
    valign="top" the email should align at the top of the cell, all field types do except the RTF look up values they make the email look bad and they contain a lot of white space.
    Please test this in your enviroment 
    <table>
    <tr><td>Title:</td><td>[%Current Item:Title%]</td><td>[%Current Item:Notes1%]</td></tr>
    <tr><td>Created by:</td><td>[%Current Item:CreatedBy%]</td><td>[%Current Item:Notes2%]</td></tr>
    <tr><td>Date Created:</td><td>[%Current Item:Created%]</td><td>[%Current Item:Notes3%]</td></tr>
    <tr><td>Modified by:</td><td>[%Current Item:ModifiedBy%]</td><td>[%Current Item:Notes4%]</td></tr>
    <tr><td>Date Modified:</td><td>[%Current Item:Modified%]</td><td>[%Current Item:Notes5%]</td></tr>
    </table>
    I could not update the question below to the proper forum section. that is why i am asking again.
    http://social.technet.microsoft.com/Forums/en-US/a7918bfb-9166-4bdb-828c-132a0c7611e3/ms-sharepoint-2010-designer-workflow-emails-huge-lines-paces-in-rich-text-fields-values-from-ms?forum=sharepointcustomization
    -Isaack

    Hi IssackB,
    perhaps you may try this article:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/f8fa2a11-9f74-4dd2-b277-21ce872fdcb2/can-we-add-rich-text-editor-to-the-sharepoint-designer-2010-workflow?forum=sharepointcustomizationprevious
    there are some notes that perhaps you may check:
    Use the same font for all the controls to ensure consistent spacing between rows.
    Choose Size from the Format menu, and then choose To Fit from the menu that appears. This adjusts the size of each control, depending on the font set for the data that appears
    in the control.
    NOTE: The Print Preview and Output To commands use different algorithms for calculating text width; therefore, the text may occupy more or less
    space in the RTF file.
    Reduce the amount of blank space above and below the report controls. Any vertical
    space between the controls is converted to whole lines
    in the RTF file. For example, a
    space of .02 inches can increase to .1667 inches in the
    RTF file.
    Make sure controls on the same output row are not too close to each other or overlapping. This can cause the Output To command to omit the controls or to align the columns incorrectly
    in the RTF file.
    Use the Align command from the Format menu to ensure that a row of controls is aligned properly on the report. If a row of controls is not aligned properly, the Output To command may place the controls
    in different rows, causing extra blank
    spacein the RTF file. 
    and please have a check there are updates for exchange 2013 and will be available with the upcoming release of CU4 for Exchange 2013, that stated the format rtf was saved instead HTML. http://support.microsoft.com/kb/2862739/en-us
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to add table in workflows email

    Hi,
    i want some of my data that i send as auto generated mail under workflow to be in table .....i tried by adding <table> html tag in the body of message but it is not working....pls tell me some way to do this....

    Workflow Emails currently does not support HTML Formatting. I understand that's in the works probably r18

  • Date format issue in Web Analysis...

    Hi,
    I am creating a report by connecting to a couple of relational tables. I'm using SQL Spreadsheet and SQL Subscription objects. I'm creating a Date filter using SQL Subscription object (list box) using the data source created by the SQL Spreadsheet. My database default date format is 'DD-MON-YYYY'. But in the list box it shows as 'YYYY-MM-DD HH24:MI:SI". When this value is selected, I get a "Literal mismatch error" since it doesn't match with the value stored in the database.
    Why the format in WA is showing in this format even though it is fetchting it from my database in which the format is 'DD-MON-YYYY'. Is this related to WA date format settings? I cannot find anywhere in WA studio where I can set date formats. Is this something to be set in the server or webanalysis.properties file?
    PS: I tried to work around this by storing the date value as character in the database but then I am not able to sort them ascending or descending order.I also tried creating the web analysis relational database connection which creates a virtual cube. But even there when I build the report using Data Source Navigator, it is showing date in 'YYYY-MM-DD HH24:MI:SI'.
    H

    Hi,
    Let me provide you the details of the report.
    A concurrent program has been created with executable as XDODTEXE (XML publisher report).
    In the data definition, we have embed one query which fetches transaction date and due date from some tables based on some conditions.
    Now, we have to show these date columns in report output which will be in EXCEL format.
    We want these date outputs to be printed in dd/mm/yyyy format. That is the reason we had given-
    TO_CHAR(TO_DATE (SUBSTR(transaction_date,1,10), 'DD/MON/RRRR'),'DD/MM/RRRR') in the SQL query.
    Problem in output is- In date columns, data after 12th is fine i.e. in format dd/mm/yyyy, it is printing properly.
    But before 12th, it is printing in format mm/dd/yyyy as mentioned below-
    01/10/2012--wrong format, it should be 10/01/2012
    01/11/2012--wrong format, it should be 11/01/2012
    01/12/2012--wrong format, it should be 12/01/2012
    13/01/2012--correct format (dd/mm/yyyy)
    14/01/2012--correct format (dd/mm/yyyy)
    How can i send you the attachment, is there any way/any email id?
    Rgds-
    Sumir

  • 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

Maybe you are looking for

  • Can no longer sync my iPhone

    I have the latest iOS and the latest version of iTunes for Windows.  When I plug in my iPhone 4S, my computer "knows" it is there--the phone starts charging, the computer says "Hey, do you want me to do these default actions, none of which are iTunes

  • Cisco ISE 1.2 - BYOD Guest Access Error with Certificate

    Hi all ! I'm running on Cisco ISE 1.2. I'm trying to setup BYOD (dual SSID). Here's a walkthrough of what's happening: 1. I connect to open SSID, enter username/password and register MAC  2. I download WinSPwizard, get trust root CA but WinSPwizard e

  • Purchase requisition Release code

    Hi, Is there any DB table to find out which release code has been released for a PR line item.

  • Pls help - Displaying Simplified Chinese characters

    Hi all, I am using Servlet to generate HTML. When I use setContentType="charset=big5" and out.println(" . . . ."); with Big-5 Traditional Chinese characters, everything is fine. However, when I use setContentType="charset=gb2312" and out.println(" .

  • Using or migrating Cognos Powerplay Cubes in/to Oracle OBIEE V 11.1.1

    Hello, is it possible somehow to use cognos cubes (used in Cognos Powerplay) in OBIEE out of the box? Or with some tricks? If not, is it possible somehow to do a elegant migration, without starting from the scratch? Any ideas or good links, informati