SimpleDateFormat UTC Example

SimpleDateFormat UTC Example

SimpleDateFormat API available in JDK since 1.2 and mostly preferred by the developers to format date in different format. In this example you will how we can format date in UTC format:

  • SimpleDateFormatUTC.java:

  • Output:

SimpleDateFormat UTC Example

  • For more information on SimpleDateFormat please visit Oracle API here

Leave a Reply

Your email address will not be published. Required fields are marked *