date2yday - converts date (e.g. 2013-10-25) to yday