I am sure this ust be simple, but the search engines lead me articals that answer everything but this :-(
I have a string "13 February 2023 13:45:40" that I need to convert to a datetime so I may do a comparison
How you cast a date like this? Does it need a specialist module thats a little smarter then me hacking around with parseextract or regex?
Thanks oh wise ones
The date format specifier for the full month name is
MMMM, use this with[datetime]::ParseExact():Replace
en-USwith the appropriate culture identifier if you need to parse timestamps in other languages: