cancel
Showing results for 
Search instead for 
Did you mean: 
Asilarow
MVP
Status: New
Hi,

Currently the ToDate() function works only for dates in UK format (dd/MM/yyyy).

Can you please please please, change this to accept dates in the system locale format instead?
2 Comments
Martynas
Level 7
Hi,

fairly certain you can work around it. If you launch studio - do this:
  1. Start BP
  2. BEFORE login click 'Change language'
  3. select 'Using Windows locale settings'
  4. Click 'Change and continue'

Depending on BP version - that's it, it will use locale date format.


For a runtime resource - start it with something like this:
@echo off
powershell Set-Culture -CultureInfo zz-YY
start "" "C:\Program Files\Blue Prism Limited\Blue Prism Automate\Automate.exe" /resourcepc ........<...>.....


While it must be fixed, it's still workaround

PvD_SE
Level 12
Due to a company requirement I already have the UK settings. But my data usually comes in format yyyyMMdd so I have no use for the ToDate() when I want to keep this order but only want to change the formatting. 
Allowing you to choose the target format would make the ToDate() very handy indeed.