Skip to content

Askmeabout

Lets share our knowledge

  • Home
  • Blog
  • Q & A
  • About
  • Contact Me
  • Privacy Policy

How to get UTC time?

Q & A › Category: Java › How to get UTC time?
0 Vote Up Vote Down
Admin Staff asked 5 years ago

How to get UTC time?
a) Time.getUTC();
b) Date.getUTC();
c) Instant.now();
d) TimeZone.getUTC();

Share this:

  • Twitter
  • Facebook
  • WhatsApp
  • Pinterest

Like this:

Like Loading...
Question Tags: Java
1 Answers
0 Vote Up Vote Down
Admin Staff answered 5 years ago

c) Instant.now();

Share this:

  • Twitter
  • Facebook
  • WhatsApp
  • Pinterest

Like this:

Like Loading...

Categories

  • Environment
  • Science
  • Technology
Copyright © 2025 Askmeabout. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.
%d