Custom date format options

Some Litmus Personalize widgets can be appended with code to customize their date formats.

Use with:

  • Countdown timers: customize your timer expiration exp=
  • Add-to-calendar buttons: customize your calendar date formats st= and et=

NOTE: Any negative offset can be switched to a positive in below examples, and vice versa. The format will still be valid. This means you can add or subtract time from the UTC datetime format (ISO8601 standard).

Input format

Example URL (countdown timer format)

01-26-2024 08:00 -0500

https://image.ltms.app/t/q55j93i5ull0q62e28zedq0p4.gif?exp=01-26-2024 08:00 -0500

02024-01-26T08:00:00.000Z

https://image.ltms.app/t/q55j93i5ull0q62e28zedq0p4.gif?exp=2024-01-26T08:00:00.000Z

2024-01-26T08:00+05:00

https://image.ltms.app/t/q55j93i5ull0q62e28zedq0p4.gif?exp=2024-01-26T08:00%2b05:00

2024-01-26T08:00+0500

https://image.ltms.app/t/q55j93i5ull0q62e28zedq0p4.gif?exp=2024-01-26T08:00%2b0500

Friday, January 26, 2024 08:00 -0500

https://image.ltms.app/t/q55j93i5ull0q62e28zedq0p4.gif?exp=Friday, January 26, 2024 08:00 -0500

Friday, 2024, January 26 08:00 -0500

https://image.ltms.app/t/q55j93i5ull0q62e28zedq0p4.gif?exp=Friday, 2024, January 26 08:00 -0500

Friday, 2024, Jan 26 08:00 -0500

https://image.ltms.app/t/q55j93i5ull0q62e28zedq0p4.gif?exp=Friday, 2024, Jan 26 08:00 -0500

Friday, Jan 26, 2024 08:00 -0500

https://image.ltms.app/t/q55j93i5ull0q62e28zedq0p4.gif?exp=Friday, Jan 26, 2024 08:00 -0500

your ESP's parameter for a customer's birthday

https://image.ltms.app/t/q55j93i5ull0q62e28zedq0p4.gif?exp=%%CUSTOMER_BIRTHDAY%%

NOTE: Your ESP's formatting and parameter name may be different than the above example. Contact your ESP for guidance.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us