Forum Discussion
lastnn30
3 years agoPost Patron
Datevalue() function to return only date without time
Hi I have a column in a table which has dates formatted as text (moved to the left hand side). I used Datevalue to convert them to dates. It did work but each date has time as well. I wonder if I ca...
- 3 years ago
try to wrap with FORMAT,
= FORMAT(DATEVALUE(), "YYYY/MM/DD")
Greg_Deckler
3 years agoCommunity Champion
lastnn30 Try:
Column =
VAR __Space = SEARCH(" ",[DateTime])
VAR __Date = LEFT([DateTime],__Space)
VAR __Result = DATEVALUE(__Date)
RETURN
__Result