For a given date field (formatted in sql as: yyyy-mm-dd), I would like to output it as week number.
I tried to work with date() but that didn’t really work out.
SQL field: YYYY-MM-DD
Desired output: Week 12 – 2010
Does anyone know how to do this? thanks in advance!!
Use
strtotimeanddate: