この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
I used the Day function on a date field and it returns an integer. How do we convert this to the day of the week - Mon, Tue etc.?
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
Hi,
In an xtk expression? You'd have to use a long chain of decode's or iif's. Assuming Day() counts from 1:
decode(Day(@date), 1, 'Sun', decode(Day(@date), 2, 'Mon', decode(Day(@date), 3, 'Tue', ...))))
Thanks,
-Jon
表示
返信
いいね!の合計
Hi,
In an xtk expression? You'd have to use a long chain of decode's or iif's. Assuming Day() counts from 1:
decode(Day(@date), 1, 'Sun', decode(Day(@date), 2, 'Mon', decode(Day(@date), 3, 'Tue', ...))))
Thanks,
-Jon
表示
返信
いいね!の合計
Thanks. I was going down the same path - I was going to use Case statements. Was wondering if there was any pre-built function. Will try both, thanks!
表示
返信
いいね!の合計
You can use formatDate option % A for short day name in a javascript https://docs.adobe.com/content/help/en/campaign-classic/technicalresources/api/f-formatDate.html?hl=...
表示
返信
いいね!の合計
表示
返信
いいね!の合計