added support for seconds and miliseconds
added support for seconds and miliseconds