{"id":18645807,"url":"https://github.com/hamiltoncj/qgis-datetimetools-plugin","last_synced_at":"2025-08-08T13:10:20.385Z","repository":{"id":254754535,"uuid":"846801286","full_name":"hamiltoncj/qgis-datetimetools-plugin","owner":"hamiltoncj","description":"QGIS conversion tools to display the local date, time, time zone, convert between UNIX time (Epoch), Julian dates, ISO8601, calculate the difference between two dates, select a location and time zone by clicking on the map and display the closet location and sun statistics.","archived":false,"fork":false,"pushed_at":"2024-08-29T12:13:42.000Z","size":292,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-17T18:36:56.210Z","etag":null,"topics":["date","dawn","dusk","gis","noon","plugin","qgis","sun","time","timezones"],"latest_commit_sha":null,"homepage":"https://plugins.qgis.org/plugins/datetimetools/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hamiltoncj.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-24T02:06:09.000Z","updated_at":"2025-01-24T00:18:49.000Z","dependencies_parsed_at":"2024-08-25T22:33:55.258Z","dependency_job_id":"6274b0c1-2165-48f7-bdbe-3cecf7a1b64c","html_url":"https://github.com/hamiltoncj/qgis-datetimetools-plugin","commit_stats":null,"previous_names":["hamiltoncj/qgis-datetimetools-plugin"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hamiltoncj/qgis-datetimetools-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamiltoncj%2Fqgis-datetimetools-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamiltoncj%2Fqgis-datetimetools-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamiltoncj%2Fqgis-datetimetools-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamiltoncj%2Fqgis-datetimetools-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamiltoncj","download_url":"https://codeload.github.com/hamiltoncj/qgis-datetimetools-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamiltoncj%2Fqgis-datetimetools-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269425601,"owners_count":24414707,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["date","dawn","dusk","gis","noon","plugin","qgis","sun","time","timezones"],"created_at":"2024-11-07T06:17:16.047Z","updated_at":"2025-08-08T13:10:20.359Z","avatar_url":"https://github.com/hamiltoncj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Date/Time Tools Plugin\n\nThe QGIS Date/Time Tools plugin provides tools to manipulate date, time, time zones, and times of the sun.\n\n## Installation\n\nThis plugin requires 3 additional libraries not provided by QGIS. These can be installed by opening up your OSGeo4W Shell from the QGIS menu and typing the command \"**pip install timezonefinder astral reverse_geocoder**\" or whatever method you use to install Python libraries.\n\nYou do not need to be a system administrator to be able to install these libraries.\n\n## Date/Time Tools Overview\n\nThese are the tools provided by Date/Time Tools.\n\n* \u003cimg src=\"images/DateTime.svg\" width=24 height=24 alt=\"Date/Time Conversion\"\u003e ***Date/Time Conversion*** - This is a dialog box that displays different formats of a date and time, computes time differences, and displays various sun times such as dawn, sunrise, noon, sunset, and dusk.\n* \u003cimg src=\"images/tzCapture.svg\" width=24 height=24 alt=\"Time zone capture\"\u003e ***Time Zone Capture*** - With this tool selected, as the mouse moves across the canvas the time zone and/or time offset is displayed in the lower left info box and the time zone is highlighted on the canvas.\n* \u003cimg src=\"images/sun.svg\" width=24 height=24 alt=\"Add Sun Attributes\"\u003e ***Add Sun Attributes*** - This is a processing tool that for a point layer and a given date, calculates the time of dawn, sunrise, noon, sunset, and dusk and adds them to the attribute table and creates a new layer.\n* \u003cimg src=\"images/tzAttributes.svg\" width=24 height=24 alt=\"Add Sun Attributes\"\u003e ***Add Time Zone Attributes*** - From a point layer, this processing algorithm adds the time zone each point is in as well as the time zone offset for a particular date if selected. \n\n## \u003cimg src=\"images/DateTime.svg\" width=24 height=24 alt=\"Date/Time Conversion\"\u003e Date/Time Conversions\nThe Date/Time conversion panel provides date and time conversions between various formats and time zones. Formats include ISO8601 dates and times, Julian dates, and Unix timestamps (Epoch). It displays the weekday and day of the year. It calculates the difference between two different dates. It provides the ability to select a time zone from a list or by clicking on the map. When a coordinate is specified, a reverse geocoder finds the closest location to the point with a heading and distance. Sun times of dawn, sunrise, noon, sunset, and dusk are calculated for the specified date.\n\n\u003cdiv style=\"text-align:center\"\u003e\u003cimg src=\"doc/datetimeconversion.jpg\" alt=\"Date/Time Conversion\"\u003e\u003c/div\u003e\n\n* \u003cimg src=\"images/CurrentTime.png\" width=24 height=24 alt=\"Update date and time\"\u003e ***Update with system time***. Clicking on this button updates the date and time to the current system date, time, and time zone.\n* \u003cimg src=\"images/coordCapture.svg\" alt=\"Select location and time zone\"\u003e ***Select location and time zone***. Clicking on this button allows the user to click anywhere on the QGIS canvas to snapshot the latitude, longitude, and time zone at that location.\n* \u003cimg src=\"doc/check.png\" alt=\"Accept changes\"\u003e ***Accept changes***. Clicking on this button accepts the changes in the text box next to it and updates the entire dialog box.\n* \u003cimg src=\"doc/copycontents.png\" alt=\"Copy contents\"\u003e ***Copy to clipboard***. Clicking on this button copies the associated text onto the clipboard.\n\nA second date and time can be entered for ISO8601_2 in order to calculate the difference between it and ISO8601_1. Once a latitude and longitude has been specified, information about solar times of dawn, sunrise, noon, sunset, and dusk will be displayed as well as the sun azimuth/direction and elevation from the horizon.\n\n## \u003cimg src=\"images/tzCapture.svg\" width=24 height=24 alt=\"Time zone capture\"\u003e Time Zone Capture\nWith this tool selected, as the mouse moves across the canvas, the time zone and/or time offset is display in the lower left info box and the time zone is highlighted on the canvas.\n\n\u003cdiv style=\"text-align:center\"\u003e\u003cimg src=\"doc/timezonecapture.png\" alt=\"Time zone capture\"\u003e\u003c/div\u003e\n\nWhen this tool is activated a settings dialog box is displayed. Here you can choose whether to displays just the time zone, time zone offset, or both the time zone and it's offset. The time zone offset requires a date to be specified. Clicking on the map copies this information to the clipboard.\n\n## \u003cimg src=\"images/sun.svg\" width=24 height=24 alt=\"Add Sun Attributes\"\u003e Add Sun Attributes\nThis is a point layer processing tool that for a given date, calculates the time of dawn, sunrise, noon, sunset, and dusk and adds them to the attribute table and creates a new layer. \n\n\u003cdiv style=\"text-align:center\"\u003e\u003cimg src=\"doc/add_sun_attributes.png\" alt=\"Add Sun Attributes\"\u003e\u003c/div\u003e\n\nThe input layer is a point layer, a date must be specified, and the results are saved to an output layer. This shows what is added to the attribute table.\n\n\u003cdiv style=\"text-align:center\"\u003e\u003cimg src=\"doc/sun_attributes.png\" alt=\"Sun Attributes\"\u003e\u003c/div\u003e\n\n## \u003cimg src=\"images/tzAttributes.svg\" width=24 height=24 alt=\"Add Time Zone Attributes\"\u003e Add Time Zone Attributes\n\n\u003cdiv style=\"text-align:center\"\u003e\u003cimg src=\"doc/add_tz.png\" alt=\"Add Time Zone Attributes\"\u003e\u003c/div\u003e\n\nFrom a point layer, this processing algorithm adds the time zone the point is in as well as the time zone offset if a date is give and **Add option time zone offset for a particular date** is selected. These are the attribute fields that are added.\n\n\u003cdiv style=\"text-align:center\"\u003e\u003cimg src=\"doc/tz_attributes.png\" alt=\"Time Zone Attributes\"\u003e\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamiltoncj%2Fqgis-datetimetools-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamiltoncj%2Fqgis-datetimetools-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamiltoncj%2Fqgis-datetimetools-plugin/lists"}