Method Community

 

Truncating date/time field in an email

Last post 12-14-2011 9:15 AM by Method_Michael. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 12-11-2011 5:41 PM

    Truncating date/time field in an email

    I have created an email that pulls in a date (MemberExpires) from ListBuilder, but I noticed that it shows as Month-Day-Year (e.g., Dec-12-2011) followed by "12:00 PM."

    Is it possible to either remove the time-stamp or truncate the field so that only the date shows?

    When I input the date in my Customer table, no time stamp is shown.

    Thanks,
    Fred

  • 12-12-2011 12:00 PM In reply to

    Re: Truncating date/time field in an email

    Fred-

    Using the Date Function action you can format a date to not have the time displayed, once the date is formatted you will have to use a character function and merge in that formatted date into your email.

    -Michael

    Michael Melo
    Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: http://www.linkedin.com/in/MichaelMelo
  • 12-12-2011 12:33 PM In reply to

    Re: Truncating date/time field in an email

    Method_Michael:
    Using the Date Function action you can format a date to not have the time displayed, once the date is formatted you will have to use a character function and merge in that formatted date into your email.
     

    Michael, can you walk through that a little slower?  I opened my ListBuilder (that you made for me) and selected "Action" on the MemberExpires field.  From there, none of what you said makes any sense to me and looking at the "Action Guide" isn't helping either.  I need "See Spot Run" type instructions.

    Thanks!
    Fred

     

  • 12-12-2011 2:58 PM In reply to

    Re: Truncating date/time field in an email

    Fred-

    For more detailed instructions it would have to be through consulting time but I will break it down a bit further.

    Look for the actions that are merging the Body of the email and do the following:

    1. Add the Date Function action to take the date (Value from row) and format it to be a different format (One without a time)
    2. Add the Character Function action to replace ListBuilder.MemberExpires (Or what ever the field is called) with the formatted date from the Date Function action.
    -Michael

    Michael Melo
    Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: http://www.linkedin.com/in/MichaelMelo
  • 12-12-2011 5:48 PM In reply to

    Re: Truncating date/time field in an email

    Method_Michael:
    Look for the actions that are merging the Body of the email and do the following:

     Add the Date Function action to take the date (Value from row) and format it to be a different format (One without a time)

    Add the Character Function action to replace ListBuilder.MemberExpires (Or what ever the field is called) with the formatted date from the Date Function action.

     

    I am editing my ListBuilder grid (Grid Wizard).

    In "Step 2," I selected my field "MemberExpires" for Action.

    The Action I selected was "Date Function" which opened up another window of choices.  None of them were "Value from Row."  I do get "Type In," "Action Result," and "Value from Screen."

    If I select Value from Screen, I then select "ListBuilder:MemberExpires" from the drop down menu. 

    Then, under Function,  I selected "Format Date" which pops up another blank window with "yyyy-MM-ddd hh:mm:ss yy" underneath it.  I tried enter "yyyy-MM-dd" in the box and still got a time stamp when I generated my email after I saved everything.

     Reading between the lines, should I be formatting the date somewhere other than the ListBuilder?

    Thanks,
    Fred

  • 12-13-2011 9:05 AM In reply to

    Re: Truncating date/time field in an email

    Fred-

    This should be done in button that sends out the emails not in the list builder grid.

    -Michael

    Michael Melo
    Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: http://www.linkedin.com/in/MichaelMelo
  • 12-13-2011 3:09 PM In reply to

    Re: Truncating date/time field in an email

    Method_Michael:
    For more detailed instructions it would have to be through consulting time
     

    It's that time again Tongue Tied

    Please contact me.

    Fred

  • 12-14-2011 9:15 AM In reply to

    Re: Truncating date/time field in an email

    Answer

    To update this forum post:

    This issue was addressed through consulting time.

    -Michael

    Michael Melo
    Product Manager
    Method Integration Inc.
    Website: http://www.method.me
    LinkedIn: http://www.linkedin.com/in/MichaelMelo
Page 1 of 1 (8 items)