Anuviel Posted April 22, 2008 Posted April 22, 2008 I am using Get (CurrentTime)to set a time as a script parameter. Is it possible to get military time regardless of how the system time is set to display?
comment Posted April 22, 2008 Posted April 22, 2008 Get (CurrentTime) returns time. It's not set to display in any way, it's time.
Anuviel Posted April 22, 2008 Author Posted April 22, 2008 Thanks, I was wondering because when I run the script and use data viewer the value that is set into the parameter is 3:25:46 PM. I was hoping for the value to be set at 15:25:46 thus loosing the PM.
comment Posted April 22, 2008 Posted April 22, 2008 When you ask to SEE the value using the data viewer, it's converted into text (how else could you view it?). The conversion is done using the current time format in use. But the actual value of type Time is neither "3:25:46 PM" nor "15:25:46" - or it is both, however you choose to look at it.
Recommended Posts
This topic is 6119 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now