Hi,
I have some code that stores a date generated from a wxDatePicker in ISO format:
datePicker->GetValue().FormatISODate()
Example result:
2020-01-01
However, I’m failing to retrieve this stored value in a form that I can use to set the value of the wxDatePicker. Here’s my code:
wxString temp = “2020-01-01
”;
wxDateTime myDate.ParseISODate(temp);
In this example, myDate takes the value wxInvalidDateTime.
My project requires that I store the date in ISO format and I assume I’m missing something simple.
Any and all suggestions would be most welcome.
Best wishes.
Tim
On 30 Apr 2025, at 11:43, Rossano Paris <parisr...@gmail.com> wrote:
Did you try with the following code?
--
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
---
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wx-users+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wx-users/0240494c-e602-41f4-a647-c8bec45e57b8n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wx-users/4C400DF9-1872-434D-B918-5D5D72BCDB25%40gmail.com.
|
|