<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`DateValue`](DateValue) › [`dateOnly`](DateValue/dateOnly) ## DateValue.dateOnly() method **Signature:** ```typescript dateOnly(): DateValue; ``` **Returns:** [`DateValue`](DateValue) a new DateValue with any time portion in this DateValue removed. 1.10.0