closed araqne/logpresso.com#254. added date functions