/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;
import java.time.*;
import java.time.format.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Instant instant = Instant.now() ; // Current moment in UTC.
		OffsetDateTime odt = instant.atOffset( ZoneOffset.UTC ) ; // A wrapper around Instant, more flexible such as formatting.
		DateTimeFormatter f = DateTimeFormatter.RFC_1123_DATE_TIME ;
		String output = odt.format( f ) ;
		
		System.out.println( "instant.toString(): " + instant );
		System.out.println( "odt.toString(): " + odt );
		System.out.println( "output: " + output );
	}
}