Forum
»
New development
»
Feature requests
»
Input mask for date functions
  Rank: Paid supportJoined: 2/4/2016(UTC) Posts: 105  Location: Hovedstaden, Copenhagen Thanks: 8 times Was thanked: 17 time(s) in 13 post(s)
|
When using a date function (in Variables) an output mask exists. Eg. {DATEFORMAT(yyyy-MM-dd HH:mm)}. This is great as the dateformat of the OS users involved can vary. But when using date input there is no mask option. Eg. {DATE(DaysBetween|2019-11-05|2019-12-05)}. To enforce independance of random OS user date format settings I propose input mask options in date functions. The example above could be overloaded so this was a possibility: {DATE(DaysBetween|2019-11-05|2019-12-05|yyyy-MM-dd|yyyy-MM-dd)} or only one mask for both inputs. This would also render cumbersome substringing of arbitrary date input formats (eg. input filenames) superfluous. Thank you. Edited by user Tuesday, November 5, 2019 9:52:46 AM(UTC)
| Reason: Not specified
|
|
|
|
  Rank: Paid supportJoined: 12/10/2013(UTC) Posts: 462  Thanks: 22 times Was thanked: 178 time(s) in 135 post(s)
|
I second this feature request. In general, code should work regardless of the users OS settings. So if I post a snippet of code on the forum, someone should be able to just run that code. Now they potentially have to change the dateformat in the code to make it work.
|
|
|
|
Users browsing this topic |
Guest
|
Forum
»
New development
»
Feature requests
»
Input mask for date functions
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.