php - Finding out the day -


i want find out day of week based on databese date entry.

for example: suppose fetch value database 03-03-1988, want print day monday or tuesday. how can calculate that?

thanxx in advance..

you can in mysql

like

select dayofweek(date) weekday mytable

returns weekday index date (1 = sunday, 2 = monday, …, 7 = saturday).


Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

asp.net mvc 3 - Unexpected "foreach" keyword after "@" character -