I am trying to format some time stamps received from an API via JSON and the convert to text node doesn't seem to be able to format the date the direction i need.
The received time format look like this "2014-03-11T23:03:35.000Z" which looks to be Round-trip date/time pattern. I see in the ventuz help how to change to that format but not go from that format to a more read able format.
Can i use the convert to text node to get this reformatted?
How do I set it to local time?
Do I need to us C# to convert?
Thanks!
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
Time Formatting? Convet to text
Moderator: Support
- shermanpat
- Posts: 122
- Joined: 21 Feb 2012, 22:03
- Location: SLC Ut USA
Time Formatting? Convet to text
-Sherman
Meru Interactive
Meru Interactive
- Daniel Willer
- Posts: 309
- Joined: 06 Jan 2012, 18:12
Re: Time Formatting? Convet to text
Hi there
Unfortunately you cannot but you can use a string expression to this.
date is the string input argument.
Unfortunately you cannot but you can use a string expression to this.
date is the string input argument.
Code: Select all
System.DateTime.Parse(date).ToLocalTime().ToString("mm:ss")
- shermanpat
- Posts: 122
- Joined: 21 Feb 2012, 22:03
- Location: SLC Ut USA
Re: Time Formatting? Convet to text
Thank you, works great.
I ended up using this to get the full date to output date format I wanted.
I ended up using this to get the full date to output date format I wanted.
Code: Select all
System.DateTime.Parse(A).ToLocalTime().ToString("U")
-Sherman
Meru Interactive
Meru Interactive