0

I've run the 2 commands moment() and moment().utc() and I don't see any difference in the output, except the UTC object, has a flag is UTC set to true.

Both return this - Tue Oct 06 2020 20:02:33 GMT+0100

What's the difference I should expect to be seeing and how can I test this?

I know UTC is a universal timecode format that shows an offset but I'm a bit confused by how it works here. An example and explanation would be very appreciated.

aRvi
  • 2,203
  • 1
  • 14
  • 30
j obe
  • 1,759
  • 4
  • 15
  • 23

0 Answers0