Date Format
In order to use a customized date format such as "January 14, 2014" in PeopleCode you need to use the function DateTimeToLocalizedString(&SupportDT, "MMM d, yyyy"); The second parameter is a pattern you define using any of the documented symbols found in the function documentation.Local String &SupportText; Local Date &SupportDT = %Date; &SupportText = DateTimeToLocalizedString(&SupportDT, "MMM d, yyyy");Thanks Ernie for sharing this one!
No comments:
Post a Comment