I have a field date name modified.
My goal to get date update with format MM-DD-YYYY
when insert or update records.
In the property, I set datatype = date and on the date value and binding option of this field, how to I set to get the date format MMDDYYYY
If I use (getdate
) then I got format YYYYDDMM
The reason I asked because I have the query that I want to select the current month
SELECT modified
from Contact
where modified >= Dateadd(Month, Datediff(Month, 0, DATEADD(m, -1, current_timestamp)), 0)
Can you correct this query if the date format YYYYDDMM
Thank you.