Get time and date

To get current time and date in web application you should use getCurrentDateTime() method from Time API.