View Single Post
  #2  
Old 02-01-2012, 03:09 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,013
Currently, Visual Build always uses US English locale for the script engine, so conversion of a string to a date in script code will parse with US English formatting. In the future, we will provide a way to use the current locale for script code, but for now you would need to parse the month out manually. One way would be:
Code:
[Split("%COMMITDATE%", "/")(1)]
Reply With Quote