I have been doing some work on timeseries data in erlang for iterate graphs and found the calendar module in stdlib to be lacking in some useful features. So being the helpful hacker I am I created a utility module to wrap calendar and be a little more userfriendly. May I present date_util.erl: