Android Date Format

User-to-User discussion about the PhraseExpress macro programming.
Post Reply
mh348
Posts: 13
Joined: 29 Aug 18, 10:30

Android Date Format

Post by mh348 » 12 Dec 18, 08:24

Hi, I have the Android Pro version and trying to change the date format from yyyy/mm/dd to dd/mm/yyyy, I have it working correctly on my PC, and copied the 'code' from PC to my Android device, but it doesn't seem to work.

{#datetime -f dd'/'mm'/'yyyy hh:nn AM/PM}

Is there a way around this?

Technical Support
Posts: 2892
Joined: 10 Feb 06, 22:23

Post by Technical Support » 12 Dec 18, 10:08

Android does not understand AM/PM, try this one:
{#datetime -f dd'/'mm'/'yyyy hh:nn a}

This should also work, as #datetime format parameters are case sensitive and it automatically replaces the lowercase version with a correct value for Android:
{#datetime -f dd'/'mm'/'yyyy hh:nn am/pm}

mh348
Posts: 13
Joined: 29 Aug 18, 10:30

Post by mh348 » 27 Jan 19, 10:50

Thanks, I tried that but it doesn't seem to work. The date format still stays the same.

Technical Support
Posts: 2892
Joined: 10 Feb 06, 22:23

Post by Technical Support » 28 Jan 19, 09:40

Strange, it works here. Did you try both options?

Post Reply