Added support for sub-second resolution