Skip to content

Date format error #6

Description

@hregis

Hello @YosfanEilay
thanks for your work.
i have this error, i use powershell for Mac with logs of Debian

MethodInvocationException: /Users/regis/Downloads/MasterParser-main/MasterParser-main/03-Options/05-functions.ps1:46
Line |
  46 |          $StartTimeConverted = [datetime]::ParseExact($start_time,'MMM …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "ParseExact" with "3" argument(s): "String 'Oct 21 16:59:12' was not recognized as a valid DateTime."
MethodInvocationException: /Users/regis/Downloads/MasterParser-main/MasterParser-main/03-Options/05-functions.ps1:53
Line |
  53 |          $EndTimeConverted = [datetime]::ParseExact($end_time,'MMM dd  …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "ParseExact" with "3" argument(s): "String 'Oct 21 16:59:14' was not recognized as a valid DateTime."

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions