Created
July 15, 2013 18:41
-
-
Save battlejj/6002315 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private string function amazonDateFormat(required date dateToFormat) hint="Follows the ISO 8601 standard" { | |
var formattedDate = dateAdd("s", getTimeZoneInfo().utcTotalOffset, arguments.dateToFormat); | |
return "#dateFormat(formattedDate,"yyyy-mm-dd")#T#timeFormat(formattedDate,'HH:mm:ss')#Z"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment