getCurrentTimeInFormat

Gets current time in given format