{"id":13507766,"url":"https://github.com/davebryson/elixir_milliseconds","last_synced_at":"2025-10-21T15:11:10.540Z","repository":{"id":30070584,"uuid":"33620069","full_name":"davebryson/elixir_milliseconds","owner":"davebryson","description":"Simple library to work with milliseconds","archived":false,"fork":false,"pushed_at":"2015-04-10T00:22:31.000Z","size":140,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T12:05:48.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davebryson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-08T16:58:34.000Z","updated_at":"2021-07-27T15:50:40.000Z","dependencies_parsed_at":"2022-08-28T18:12:14.288Z","dependency_job_id":null,"html_url":"https://github.com/davebryson/elixir_milliseconds","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davebryson%2Felixir_milliseconds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davebryson%2Felixir_milliseconds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davebryson%2Felixir_milliseconds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davebryson%2Felixir_milliseconds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davebryson","download_url":"https://codeload.github.com/davebryson/elixir_milliseconds/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301963,"owners_count":20755512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-01T02:00:38.763Z","updated_at":"2025-10-21T15:11:10.440Z","avatar_url":"https://github.com/davebryson.png","language":"Elixir","funding_links":[],"categories":["Date and Time"],"sub_categories":[],"readme":"Millseconds for Elixir\n======================\n\nConvert the word version of time to milliseconds and vice-versa.\n\nExamples\n--------\n\n```elixir\n\nimport Milliseconds\n\n# Milliseconds to readable time\nconvert(3600000)\n  # =\u003e \"1h\"\n\n# Readable time to milliseconds\nconvert(\"2yrs\")\n  # =\u003e 6.31152e10\n\n# Calculate future time\n\n# Milliseconds 24 hours from now\nexpires_tomorrow = future_time(\"24hrs\")\n\n# Milliseconds 6 hrs from now\nexpires_later = future_time(\"6hrs\")\n\n# Current time in milliseconds\nnow = current_time_millis\n\n```\n\nInspired by ms.js: https://github.com/rauchg/ms.js\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavebryson%2Felixir_milliseconds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavebryson%2Felixir_milliseconds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavebryson%2Felixir_milliseconds/lists"}