Revert "added time function same as date function"

This reverts commit 007e13d1e17171e997933731b3893da33371a3e3.