Try to make agenda function compatible with linux's date command