Table of Contents

ToAwsDateTimeString Method

Definition

Namespace
Codebelt.Extensions.AwsSignature4
Assemblies
Codebelt.Extensions.AwsSignature4.dll
Source
src/Codebelt.Extensions.AwsSignature4/DateTimeExtensions.cs

ToAwsDateTimeString(DateTime)

Converts the value of the specified dt to its equivalent string representation using DateTimeStampFormat format and the formatting conventions of InvariantCulture.

public static string ToAwsDateTimeString(this DateTime dt)

Parameters

dt DateTime

The DateTime to extend.

Returns

string

A string representation of the specified dt as yyyyMMddTHHmmssZ.