Skip to main content
This topic has been closed for replies.

2 replies

itisdesign_-_AH
Inspiring
June 7, 2012

Currently this page contains the following bullet, within the description of the mask parameter:

"- gg: Period/era string. Ignored. Reserved. The following masks tell how to format the full date and cannot be combined with other masks:"

Two issues:

1) The "Ignored. Reserved." wording should be deleted, b/c "gg" works fine in CF10. Example: dateFormat(now(), "gg") (this works and outputs "AD")

2) The "The following masks tell how to format the full date and cannot be combined with other masks:" wording is not part of the description of "gg" and should therefore be on its own non-bulleted line (b/c it refers to short/medium/long/full).

Thanks,

-Aaron

Known Participant
March 6, 2012

What about a date Suffix as part of the DateFormat function? eg; 1st, 2nd, 3rd, 4th etc - so you could have the option to have Sunday 1st January 2012

SuhasYogin
Adobe Employee
Adobe Employee
March 9, 2012

Hello,

ColdFusion does not let you do this directly. However, you can post-process the number dates to convert them to strings per your requirements. Just an additional step.

Thanks,

Suhas Yogin

itisdesign_-_AH
Inspiring
June 7, 2012

Regarding "date Suffix as part of the DateFormat function eg; 1st, 2nd, 3rd, 4th etc - so you could have the option to have Sunday 1st January 2012":

There is already an Enhancement Request logged for this feature. It is #73129 in the old tracker. Currently it does not appear visible in bugbase.adobe.com. @iSaid: Once this ticket is publicly visible, you may vote for it.

@Suhas, could #73129 (from old tracker) please be made publicly visible and the new ticket# please be posted here?

Here is a link to an archive of this ticket: http://www.elliottsprehn.com/cfbugs/bugs/73129

Thanks!,

-Aaron