can the ‘Expert format’ for date time include ‘Day’ of year and Unix Epoch seconds and Microsoft time?
can the ‘Expert format’ for date time include ‘Day’ of year and Unix Epoch seconds and Microsoft time? I could use smaller fonts fit in.
love customization available.
« Previous Post (Previous Post)
(Next Post) Not exactly related with Lightning, but this is something I have in mind since while, and a recent post from… »
I don’t know what is microsoft time (something inspired from several existing standards but incompatible with everything else ? lol), but Day in year should be “D”. Unix epoch timestamp is not supported unfortunately, but it is not so useful ?
Unix timestamp is possible to show from script. Run this from a shortcut and it will show that number (according to your device) I recommend to set it in the resumed event of the shortcut.
var fps=0;//set to 0 for fastest possible
LL.bindClass(“java.lang.System”);
var z=LL.getEvent().getItem();
fps=fps< =0?0:1000/fps;
tick();
function tick(){
if(LL.isPaused())return;
z.setLabel(System.currentTimeMillis(),false);
setTimeout(tick,fps);
}
Thanks so much for the help and JavaScript.