Datum
Aktuelles Datum

Script key: Aktuelles Datum

Posted by — DI

Install

Details

Label Datum
Voice Over Aktuelles Datum
Script
var now = new Date();
var dd = now.getDate();
var mm = now.getMonth()+1;
var yyyy = now.getFullYear();

if(dd<10) {
    dd='0'+dd
} 

if(mm<10) {
    mm='0'+mm
} 

var today = dd+'.'+mm+'.'+yyyy;
var selRange = getSelectedRange();
setSelectedText(today);
setSelectedRange(selRange[0]+11,0);

Advanced

Keyboard shortcut None
Hide key Yes

Discussion

comments powered by Disqus