# 30115: Date format is incorrect

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when the `Date` field in your Messaging request does not use the required `YYYY-MM-DD` format. Twilio expects a calendar date only for this field.

### Possible causes

* You included a timestamp, time, or timezone in the `Date` field instead of sending only a date.
* You used a two-digit year such as `YY` instead of a four-digit year such as `YYYY`.
* The value does not match the required `YYYY-MM-DD` pattern for the `Date` field.

### Possible solutions

* Send the `Date` field in `YYYY-MM-DD` format, for example `2023-08-13`.
* Remove any time portion, timestamp, or timezone offset so the value contains only year, month, and day.
* Use a four-digit year and verify the full date is formatted correctly before you submit the request.

#### Additional resources

* [Deactivations resource](/docs/messaging/api/deactivations-resource)
* [Message resource](/docs/messaging/api/message-resource)
* [Handling Deactivated Phone Numbers](https://help.twilio.com/hc/en-us/articles/360042744973-Handling-Deactivated-Phone-Numbers)
