sql variable - date type variable issue |
5/23/2020 9:31:51 AM |
PHPRunner General questions | |
J
jacktonghk authorDevClub member
I am using MSSQL as the database. The default date format for it is 'YYYY-MM-DD'. $values follow SQL date format but sql variable like ':master.mydate' follows the windows' format which is 'DD/MM/YYYY' in my case. This makes my sql statement fails to run. |
|
J
|
jacktonghk authorDevClub member 5/23/2020 |
I tried to set up the date format of my date fields to 'YYYY-MM-DD' in PHPrunner. However, it also changed my regional setting on the Misc page, therefore, changed my currency. |
J
|
jacktonghk authorDevClub member 5/24/2020 |
I found this may be a bug if I use autofill in my lookup wizard. |
J
|
jacktonghk authorDevClub member 5/26/2020 |
Hi administrator, |
J
|
jacktonghk authorDevClub member 5/26/2020 |
The problem always happen if the PHPR locale's date format is not 'YYYY-MM-DD". Does anyone have the same issue when using a date SQL variable in the lookup wizard where clause? |