environment independent time functions...