Getting UTC time via Templater

I want to display UTC time


I use Templater

<% %>

I want exactly utc time in my front matter (with region). Like…

date: 2023-04-06T22:06:15+05:30

How to get UTC time using Templater plugin ?

I figured it out

<%'YYYY-MM-DDTHH:mm:ss') %>+05:30

Or u can use the linter plugin if u dont want to juggle with templater

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.