1function addBtnActionTimestamp($btn, props, edid) {
2    $btn.click(function() {
3        jQuery.post(
4            DOKU_BASE + 'lib/exe/ajax.php',
5            {call: 'timestamp'},
6            function(data) {
7                // Insert the timestamp
8                insertAtCarret(edid,fixtxt(data));
9                // Close out of the picker and return
10                pickerClose();
11            },
12            'text'
13        );
14    });
15    return 'timestamp';
16}
17