Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Does anyone know how to convert a Text value into a TimeZone object with a value?

Created: 08 Feb 2013 • Updated: 26 Aug 2013 | 4 comments
QuietLeni's picture
This issue has been solved. See solution.

Dear All,

I have a Text value of "(UTC) Dublin, Edinburgh, Lisbon, London" and I need to convert this into a TimeZone object. Is there a Component available? Search does not yield much.

So, does anyone know how to convert a Text value into a TimeZone object with a value?

 

Comments 4 CommentsJump to latest comment

africo's picture

have you tried using a single value mapping component and connecting your text variable to the Time Zone "Id" variable?  give that a try.

QuietLeni's picture

africo,

Why the Id variable? It worked for me when I used the SVM Component at your suggestion, but using the "DisplayName" variable.

What is the point of an Asset Management Solution that needs excessive management? Let me help you.

SOLUTION
africo's picture

there are 2 "timezone" datatypes (in 7.5 anyway) and i just chose the first one.  looks like you got it handled though, good for you!

timezonedatatype1.PNG timezonedatatype2.PNG
QuietLeni's picture

africo,

Yes, there is the "Time Zone" and the "TimeZone".

I like the "Dirty" attribute, however!

What is the point of an Asset Management Solution that needs excessive management? Let me help you.