Hi Roy,
Is this what you are looking for?
With kind regards,
Chris
Hi Roy,
Is this what you are looking for?
With kind regards,
Chris
Yes I am looking for that. I saw that page earlier. But That page has no information how to implement it.
Hi Roy,
To be honest, there is no direct equivalent of DialogGetDate in the WebUI. In the WebUI, it is possible to get an element in a calendar, and this calendar element can be specific up to a minute. You can convert an element to a string easily using formatString. For instance as follows:
sp_someDay := formatString("%e”, ep_someDay);
More elaborate conversions between element and string can be done using StringToTimeslot and TimeslotToString not illustrated here.
Please find enclosed an example AIMMS project for selecting(in sequence):
- A date
- A date/time
The dialogs presented in here can be found by hovering over the value of ep_someDay
or ep_someMinute
and selecting the small calendar icon that appears.
Please let me know if this answers your question.
With kind regards,
Chris
Hi @roy
Did Chris’s answer help you with your problem?
Thanks
Hi Roy,
To be honest, there is no direct equivalent of DialogGetDate in the WebUI. In the WebUI, it is possible to get an element in a calendar, and this calendar element can be specific up to a minute. You can convert an element to a string easily using formatString. For instance as follows:
sp_someDay := formatString("%e”, ep_someDay);
More elaborate conversions between element and string can be done using StringToTimeslot and TimeslotToString not illustrated here.
Please find enclosed an example AIMMS project for selecting(in sequence):
- A date
- A date/time
The dialogs presented in here can be found by hovering over the value of ep_someDay
or ep_someMinute
and selecting the small calendar icon that appears.
Please let me know if this answers your question.
With kind regards,
Chris
Thanks @Chris Kuip for the help.