What I’m trying to do
I’m trying to format a date-based inline metadata field as the day of the week (ie. Monday, Tuesday etc) as a column in a Dataview.

At the moment I am just using
default(dodate, date(eow) + dur(1 d)).day as Day
Is there any way of doing this?
mnvwvnm
#2
You can try this:
dateformat(default(dodate, date(eow) + dur(1 d)), "cccc") as "day of the week"
But you want only the day of the week?
1 Like
perfect! Thank you so much
. Do you know where are the dateformat strings are documented?
mnvwvnm
#4
Dataview uses luxon/iso format
Thanks again so much; I’ve spent hours looking for a solution to this.
mnvwvnm
#6
Unfortunately dataview documentation has many faults. dateformat()
isn’t there.
EricG
#7
Interesting. So do you guess what the code might or something else?
mnvwvnm
#8
I’m following other sources of information: releases changelogs, discord obsidian channel, etc. Not any magic skill! 
system
closed
#9
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.