verbs on dates

Hi All,A tempting to get day of month as I think it should work:dom:{ (“d”.x).dd }but:d: .z.Ddom dthrows an error.What’s the correct way to do this. I tried casting and assigning tovariable, then access day part - but to no avail.Thanks in advance -Joe

q).z.D
2010.11.16
q)`dd$.z.D
16

Junan

You might also want to take a look at this:

https://code.kx.com/trac/wiki/FAQ#Whydoessgworkwith::butnot:Alsowhydoesnotx.timework

In particular, the “Also why does not {x.time} work?” part.