Functions Flashcards
1
Q
date(“l”);
A
Gets the current day of the week in written value ie “Saturday”.
2
Q
date(“d”);
A
Gets the current day of the week in numerical value ie “06”.
3
Q
date(“F”);
A
Gets the current month in written value ie “April”.
4
Q
date(“m”);
A
Gets the current month in numerical value ie “10”.
5
Q
date(“Y”);
A
Gets the current year in 4 digits ie “2024”.
6
Q
date(“y”);
A
Gets the current year in 2 digits ie “24”.
7
Q
date(“js”);
A
Gets the current date of the month ie “6th”.