英[deɪt] 美[det]
n.Date; date, day; era, year; (of date palm trees common in North Africa and West Asia) date palm
vt. Outdated; to make... appear older; to show the era (or age) of...; to identify the age of... Calculate the date from a certain time; record the date; note (or indicate) the date
Third person singular: dates Plural: dates Present participle: dating Past tense: dated Past participle: dated
javascript Date() method syntax
Function: Returns the date and time of the day.
Syntax: Date()
Returns: Returns the date and time of the day.
javascript Date() method example
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script type="text/javascript"> document.write(Date()) </script> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance