Date Format

Hi,

When I use the format date function here
https://confluence.dimagi.com/display/commcarepublic/CommCare+Functions#CommCareFunctions-format-date
what argument do I use to display the full day of the month i.e. ‘%a’ =
three letter short text day (Sun, Mon etc), I want to be able to print
Sunday, Monday etc in full

Kind regards,

Hi Sam,

Unfortunately I think that this is not currently possible. You’d probably
need to use some mapping (in a fixture or if() statement) between the value
output by %a and the full day string in order to do this.

Cheers,
Will

··· On Fri, Sep 30, 2016 at 12:51 PM, Sam Phiri wrote:

Hi,

When I use the format date function here
https://confluence.dimagi.com/display/commcarepublic/CommCare+Functions#CommCareFunctions-format-date
what argument do I use to display the full day of the month i.e. ‘%a’ =
three letter short text day (Sun, Mon etc), I want to be able to print
Sunday, Monday etc in full

Kind regards,


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thanks Will

··· On 1 October 2016 at 20:36, William Pride wrote:

Hi Sam,

Unfortunately I think that this is not currently possible. You’d probably
need to use some mapping (in a fixture or if() statement) between the value
output by %a and the full day string in order to do this.

Cheers,
Will

On Fri, Sep 30, 2016 at 12:51 PM, Sam Phiri mitoworks21@gmail.com wrote:

Hi,

When I use the format date function here
https://confluence.dimagi.com/display/commcarepublic/CommCare+Functions#CommCareFunctions-format-date
what argument do I use to display the full day of the month i.e. ‘%a’ =
three letter short text day (Sun, Mon etc), I want to be able to print
Sunday, Monday etc in full

Kind regards,


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to a topic in the
Google Groups “commcare-users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/commcare-users/I4dGoPTTy5w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.