{"id":17141798,"url":"https://github.com/zmofei/sysdate","last_synced_at":"2025-07-25T17:31:51.636Z","repository":{"id":78380643,"uuid":"14575533","full_name":"zmofei/sysDate","owner":"zmofei","description":"use javascript get  servers date","archived":false,"fork":false,"pushed_at":"2014-06-24T09:07:24.000Z","size":206,"stargazers_count":3,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-15T20:27:05.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/zmofei.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":"2013-11-21T02:24:25.000Z","updated_at":"2018-02-07T14:53:05.000Z","dependencies_parsed_at":"2023-03-11T08:01:15.419Z","dependency_job_id":null,"html_url":"https://github.com/zmofei/sysDate","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/zmofei%2FsysDate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmofei%2FsysDate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmofei%2FsysDate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmofei%2FsysDate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zmofei","download_url":"https://codeload.github.com/zmofei/sysDate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227599458,"owners_count":17791798,"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-10-14T20:27:11.999Z","updated_at":"2024-12-01T17:26:39.823Z","avatar_url":"https://github.com/zmofei.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"sysDate\n=======\n\nuse javascript get servers date ,which you needn't care about the servers script.\n\nexample\n=======\n\nyou can simple use it like this:\n\n``` javascript\n\nvar a=sysDate(option);\n//option is an object,like {'url':'/getDate'}\n\na.done(function(data){\n    console.log('done',data);\n    //it will return 'done 1385003673000'\n});\n\n```\n\nor you can use it async\n\n``` javascript\n\nvar a=sysDate();\n\n//use async it's also awesome : )\n//but you must the time you get the time is when you define sysDate().\nsetTimeout(function(){\n  a.done(function(data){\n    console.log('done',data);\n    //it will return 'done 1385003673000'\n  });\n},3000)\n\n```\n\n\nthanks\n====\n\nthanks PaPa, who didn't give me the server ajax port,which make this project come true.\n\nthanks lay, who give me the async idea.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmofei%2Fsysdate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzmofei%2Fsysdate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmofei%2Fsysdate/lists"}