week of the year

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
kevin
Posts: 2
Joined: 14 May 2014 11:49

week of the year

Post by kevin » 14 May 2014 11:52

Please add a function get calendar wek

BoBo
Posts: 129
Joined: 05 May 2014 12:45

Re: week of the year

Post by BoBo » 14 May 2014 13:00

Correct me if I'm wrong, what about this ...

Code: Select all

dateformat: Formats the date using the specified date pattern. See pattern characters for a description of the supported patterns.

var="Today is {getDate(),dateformat,dd.MM.yyyy}";
'var' will contain the string "Today is 21.07.2012"
var="It's {getDate(),dateformat,HH:mm}";
'var' will contain the string "It's 12:32"
var="It's {getDate(),dateformat,timezone,UTC,HH:mm}";
'var' will contain the string "It's 10:32"
=> Week in Year !

Locked