DateTimeValue - Amazon Billing and Cost Management
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

DateTimeValue

Represents a point in time that can be specified as either an absolute date (for example, "2025-07-01") or a relative time period using ISO 8601 duration format (for example, "-P3M" for three months ago).

Contents

type

The type of date/time value: ABSOLUTE for specific dates or RELATIVE for dynamic time periods.

Type: String

Valid Values: ABSOLUTE | RELATIVE

Required: Yes

value

The actual date/time value.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: