dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Parsing date in Java

  1. #1
    Join Date
    Jan 2020
    Posts
    1

    Parsing date in Java

    Hello,

    Is there any way to parse following date in Java?

    2020-01-14T00:54:42.2837Z

    I tried "yyyy-MM-dd'T'HH:mm:ss.SSSS'Z'" but it didn't work.

    Thanks for your help!

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,227

    Re: Parsing date in Java

    Not familiar with Java (well, I had programmed in it 14 years ago) but isn't there a DateTime class with a parse method that you can use?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)