{"id":37136096,"url":"https://github.com/nilesh-akhade/dateparse","last_synced_at":"2026-01-14T15:52:02.741Z","repository":{"id":57704182,"uuid":"497250390","full_name":"nilesh-akhade/dateparse","owner":"nilesh-akhade","description":"CLI to parse many date strings without knowing format","archived":false,"fork":true,"pushed_at":"2022-08-29T10:31:26.000Z","size":351,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-06-21T09:50:45.442Z","etag":null,"topics":["dateparser","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"araddon/dateparse","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nilesh-akhade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-28T07:48:42.000Z","updated_at":"2022-08-14T19:35:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nilesh-akhade/dateparse","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nilesh-akhade/dateparse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilesh-akhade%2Fdateparse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilesh-akhade%2Fdateparse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilesh-akhade%2Fdateparse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilesh-akhade%2Fdateparse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nilesh-akhade","download_url":"https://codeload.github.com/nilesh-akhade/dateparse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilesh-akhade%2Fdateparse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28425367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T15:24:48.085Z","status":"ssl_error","status_checked_at":"2026-01-14T15:23:41.940Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dateparser","golang"],"created_at":"2026-01-14T15:52:02.128Z","updated_at":"2026-01-14T15:52:02.723Z","avatar_url":"https://github.com/nilesh-akhade.png","language":"Go","readme":"DateParse CLI\n======================\n\nSimple CLI to convert date string into [unix epoch time](https://en.wikipedia.org/wiki/Unix_time).\n\nThe program parses date string into `time.Time` using [dateparse](github.com/araddon/dateparse) library and prints as seconds since epoch, milliseconds since epoch or provided [date layout](https://pkg.go.dev/time#Parse). The program also supports conversion of go duration to seconds or milliseconds.\n\nExamples\n----------------------\n\n```console\nme@ubuntu:~$ dateparse \"Mon Jan 2 15:04:05 MST 2006\"\n1136214245000\nme@ubuntu:~$ dateparse \"now\"\n1661767587158\nme@ubuntu:~$ dateparse -o seconds \"2009-08-12T22:15:09.99Z\"\n1250115309\nme@ubuntu:~$ dateparse -o millis \"18 July 1918\"\n-1623888000000\nme@ubuntu:~$ dateparse -o \"2006-01-02T15:04:05-0700\" \"20-JUN-1990 08:03:00\"\n1990-06-20T08:03:00+0000\n```\n\nInstallation\n----------------------\n\n```console\nme@ubuntu:~$ go install github.com/nilesh-akhade/dateparse@latest\ngo: downloading github.com/nilesh-akhade/dateparse v0.0.0-20220803091428-df00031503b2\nme@ubuntu:~$ dateparse \"August 29 2022  10:26:57 GMT\"\n1661768817000\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilesh-akhade%2Fdateparse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnilesh-akhade%2Fdateparse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilesh-akhade%2Fdateparse/lists"}