Hi
I'm doing my head in trying to figure what process i need to use to simply get the day-of-the-week number (eg 0 for sunday, 1 for monday etc) from a date formatted as YYYY-MM-DD
I think i need need to use strtotime() but i can't work out what i'd need to do with it
can anyone help ?
thanks