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

forms - Secure PHP File Upload Script -

PHP: Exploding array elements -

reflection - How to use FxCop CustomDictionary.xml from the project localization? -