79421983

Date: 2025-02-07 19:35:50
Score: 0.5
Natty:
Report link

For example:

if you have a String "Fri Feb 28 00:00:00 UYT 2025".

You can do:

Date date = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy", new Locale("en", "en_US")).parse("Fri Feb 28 00:00:00 UYT 2025");

"Locale" depends of "language" of string value, in this case is "en".

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Guillermo Solana