Product, version and build: PrimalScript 2017, Version 7.3.98
32 or 64 bit version of product:64 Bit
Operating system:
32 or 64 bit OS:Win10 64Bit
I am writing a PowerShell script that deals with date calculations and reading and writing dates to CSV files. Being located in Australia our date format is dd/mm/yyyy. What I have found is that when I run these scripts in the PrimalScript application it gets confused because it keeps reverting to American date format. If I run the same script from the PowerShell command line it works fine. Is there a setting in the PrimalScript application that sets the locality globally.
Thanks in Advance
Wayne
Date Format Issue when run in PrimalScript
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- wayne_Avery
- Posts: 30
- Last visit: Tue Feb 01, 2022 2:25 pm
Re: Date Format Issue when run in PrimalScript
Can you provide an example of where this causes a problem? Perhaps you can upload one of these scripts that you mention?
If you prefer, you can upload it to http://sapien.com/support/upload if you don't wish for the code to get out.
If you prefer, you can upload it to http://sapien.com/support/upload if you don't wish for the code to get out.
DevinL
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- wayne_Avery
- Posts: 30
- Last visit: Tue Feb 01, 2022 2:25 pm
Re: Date Format Issue when run in PrimalScript
Thanks for the reply but it seems I was hasty posting this ;ate last night. After a nap I have found the issue in the code.
Cheers
Wayne
Cheers
Wayne
Re: Date Format Issue when run in PrimalScript
Glad to hear the issue was resolved, and that it wasn't a bug in the product
If you have any further issues, please don't hesitate to post again.
If you have any further issues, please don't hesitate to post again.
DevinL
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.