move time text definition into a header file