Add functions that return the proper strftime or other date or time segments. Improve README. Add license.