Skip to content

Latest commit

 

History

History
6 lines (6 loc) · 272 Bytes

Update-Date-and-Time.md

File metadata and controls

6 lines (6 loc) · 272 Bytes

<%* const content = await tp.file.selection() tR += content.replace(/\d{4}(-\d{2}){2}/g, tp.date.now('YYYY-MM-DD')) .replace(/\d{4}(/\d{2}){2}/g, tp.date.now('YYYY/MM/DD')) .replace(/\d{2}(:\d{2}){2}/g, tp.date.now('HH:mm:ss')) %>