In the last episode (Feb 24), Vivian Wang said:
> mysql,
> The question is:
>
> If I use unix date Command like: date -date=20030220 +%j
> I will get 051 which is Julian date.
>
> I like to know how I can get Julian date if I use mysql or Python.
Mysql's date_format function supports the same escapes the date command
does, for the most part:
mysql> SELECT DATE_FORMAT(20030220,'%j');
+----------------------------+
| 051 |
+----------------------------+
1 row in set (0.00 sec)
--
Dan Nelson
dnelson@stripped
sql, query