Removed reliance on system date command