Computer Science, asked by reetwarraich33, 1 month ago

date() and day() return the same thing​

Answers

Answered by Equestriadash
1

This statement is false.

  • date() is a function that returns the current date in YYYY-MM-DD format.

  • day() is a function that returns the date part of the date alone, i.e., DD.

Examples:

  • date()

\tt Select\ date(now());

Output: \sf 2021-07-12 07:12:46

  • dayname()

\tt Select\ day(now());

Output: \sf 12

Other date functions include:

  • Curdate() - Returns the current date.
  • Dayname() - Returns the day name of the week.
  • Year() - Returns the year, i.e., YYYY.
  • Month() - Returns the month of the year in numerical format, from 1 - 12.
  • Monthname() - Returns the month name of the expression, from January - December.
Answered by pranjalkushwaha297
0

Answer:

Question:Date() and Day() return the same thing

Answer:False

Explanation:

please mark me as brainliest ans

Similar questions