GDevelop-extensions
GDevelop-extensions copied to clipboard
Timestamp to date extension
Description
This extension is сonvert timestamp from milliseconds to local date in format XX.XX.XXXX or local time in format XX:XX:XX
How to use the extension
Add a text change event and set the text value to TimestampToDate::TimestampToDate(Time("timestamp")) to get the current (local) date in XX.XX.XXXX format and to TimestampToDate::TimestampToTime(Time("timestamp")) to get the current (local) time in the format XX:XX:XX
Checklist
- [X] I've followed all of the best practices.
- [X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
- [X] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.
What tier of review do you aim for your extension?
Community (Unreviewed)
Example file
Timestamp to date extension example.zip
Extension file
Thank you for submitting an extension.
I think there should be only 1 extension with all time formatting or time handling features.
These existing extensions are of very various quality level:
- https://wiki.gdevelop.io/gdevelop5/extensions/time-formatter/
- https://wiki.gdevelop.io/gdevelop5/extensions/time-detector/
- https://wiki.gdevelop.io/gdevelop5/extensions/clock/
I think your features should be merged into one of these extensions to avoid yet another time extension.
If someone is motivated, I think it would be a good thing to do a fusion of all of these extension and rework the ones that are not good enough.
Thank you for submitting an extension.
I think there should be only 1 extension with all time formatting or time handling features.
These existing extensions are of very various quality:
- https://wiki.gdevelop.io/gdevelop5/extensions/time-formatter/
- https://wiki.gdevelop.io/gdevelop5/extensions/time-detector/
- https://wiki.gdevelop.io/gdevelop5/extensions/clock/
I think your features should be merged into one of these extensions to avoid yet another time extension.
I also thought about combining this with something, but decided not to do it until the answer. I'll merge my extension with TimeFormatter
Done, but apparently I added it in the wrong place? https://github.com/GDevelopApp/GDevelop-extensions/issues/1330