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

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -