script provided for easy time arithmetic