Showing posts with label Date and Time. Show all posts
Showing posts with label Date and Time. Show all posts

How to convert DateTime to different Timezone's

Convert the given date, time to a different timezone along with 12-hour clock format. Lets see simple java example to convert the given string to Date and with local/Default(IST) time to 2 different timezone...

Java Date and Time interview questions

In this tutorial we will see about using Java Date and Time-stamp interview questions as, 1. Getting current local Date and Time 2. Converting current local Date and Time to GMT Date and Time3....