Thank you very much for the date binary. I have now completed the bash script now and it works very nicely. It is available for download at http://www.zabaware.com/empeg if anyone is interested in installing this on their empeg. If anyone notices any bugs or has suggestions please tell me.