I'm using Superlist with a due date column (SQL DateTime) as a column in dd/mm/yyyy format.
I need, in order to the final user be able to sort by this column, to use just the DATE part of the column. The problem is that if I set the DueDate.Date value, it shows the time as 00:00:00, and if I set as DueDate.ToShortDateString() the issue is that February 1st happens before January 31 in the ascending order.
Is there ANY way to show just the date without converting it as a string?
You are confusing the idea of a structure and a string. When you say "Show Date", you are talking about interpreting the
DateTimestruct as a string...for your viewing.So the answer to your question is no, there is no way to show anything about a
DateTimewithout converting it first to astring.If you're talking about retrieving just the date part of the
DateTimestruct, then what you have described is how it works. Because a Date is really just theDateTimewith a zeroed out Time portion.