Module of date formats and commands.
USAGE
For use with Mac OS X or Linux systems.
Copy "date.sh" to desired location.
Directions for calling it from another script. Also written in the script comments. Uncomment hashtag to write to file. Change function to output different format.
mdYHMS # > date.txt
Call this script from another script by the following usage example: bash date.sh /bin/bash /path/to/script