del dateTime Property
Return the date and time of when some text was deleted:
The result of x could be:
Definition and Usage
The dateTime property sets or returns the value of the datetime attribute of a deleted text.
The datetime attribute specifies the date and time when the text was deleted.
Note: The datetime attribute has no visual effect in ordinary web browsers, but can be used by screen readers.
The dateTime property is supported in all major browsers.
Return the dateTime property:
Set the dateTime property:
|YYYY-MM-DDThh:mm:ssTZD||The date and time of when the text was deleted.
Explanation of components:
|Return Value:||A String, representing the date and time of when the text was deleted|
Change the value of the datetime attribute:
HTML reference: HTML <del> datetime attribute