billdami / utime Goto Github PK
View Code? Open in Web Editor NEWA Google Chrome extension that converts UNIX timestamps to dates (and vice versa)
A Google Chrome extension that converts UNIX timestamps to dates (and vice versa)
Would be nice the timestamp can be auto detected if in milliseconds or even microseconds.
I often has to use nanosec level timestamps (yay c++) but I have to add the zeros at the end manually now to pad it.
Could it be added into the option dropdown?
As you might already know PHP's strtotime()
is pretty strong when it comes to parsing English date/time strings. The awesome php.js community has developed a vanilla javascript implementation of the function.
Wanted to share my thought that it might come handy in Utime and make it more perfect.
I was searching for something similar, but my idea was to convert ANY timestamps on a page on fly to readable dates. All essential stuff of date conversion is already implemented, so making this feature is just a matter of some regexps and tuning.
To configuration can be added two number settings: FROM timestamp and TO timestamp. Then we search on a page for a string of decimal digits of strlen(FROM) length, then numerically compare it to FROM and TO, and if it is between, then convert to what output date preferences say. Example settings would be e.g:
FROM = 1234567890 โ famous date, remember it ? :-)
TO = either unset (for no upper limit) or 2222222222 or similar
To distinguish converted dates from original page information either some special HTML symbol can be added to the output OR some non-html inline element like <x-myutime-123>
with click event bound to extension for e.g. some later processing or bringing date to utime popop. But for the latter I can't think of any useful use case.
This is definitely needed when working with databases!
Example:
https://sc-cdn.scaleengine.net/i/02eb2dc6a56d6fbca3817add8891a0d5.png
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.