N
n.net
Due to the much of VBScript inhibition in my early years of website
development, I exhaustively used the following code in my .NET
console applications.
oLog.setStartTime = Format(Now, "MM/dd/yyyy HH:mm:ss")
This worked fine, when ppl used the code in US.
When the same code was migrated to Singapore, the developers started
to complain about the apparent error that occurs, due to the local
machine settings.
For example a date like 04/25/2007 - the Format() Function which
depends on local machine settings is creating problems.
What is the best practise to get rid of the evil? Pls advise.
development, I exhaustively used the following code in my .NET
console applications.
oLog.setStartTime = Format(Now, "MM/dd/yyyy HH:mm:ss")
This worked fine, when ppl used the code in US.
When the same code was migrated to Singapore, the developers started
to complain about the apparent error that occurs, due to the local
machine settings.
For example a date like 04/25/2007 - the Format() Function which
depends on local machine settings is creating problems.
What is the best practise to get rid of the evil? Pls advise.