added date compilation helpers to lib