Akamai.Utils.ExtensionMethods.ToISO8601 C# (CSharp) Method

ToISO8601() public static method

format a date and time into ISO8601 style of "yyyyMMdd'T'HH:mm:ss+0000"
public static ToISO8601 ( this timestamp ) : string
timestamp this the date and time to convert
return string
        public static string ToISO8601(this DateTime timestamp)
        {
            return timestamp.ToUniversalTime().ToString("yyyyMMdd'T'HH:mm:ss+0000");
        }