very useful. Found here:

http://bytes.com/topic/python/answers/458263-days-since-epoch
bigquery sample + more German!