Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Splitting Date and Time from the DateTimePickerComponent

Updated: 23 May 2010 | 1 comment
Aryanos's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Does anyone know how to split the Date and Time from the DateTimePickerComponent? I tried using the Split Text Into Collection component but it seems to only displays the first and last parts to choose from and looking at the variable in the debugger, it shows there are three items in an array.

[0] Date
[1] Time
[2] AM/PM

After using the Split Text Into Collection component only Date and AM/PM is available from that variable. I tried coverting the DateTimePickerComponent to a string and parsing it but that doesn't work either. I've also tried setting the Delimiter to Space as well as Other with a space but that doesn't fix it. Any help would be greatly appreciated.

discussion Filed Under:

Comments

Aryanos's picture
05
Nov
2009
1 Vote +1
Login to vote

Figured this out

Found out how to do this by using the Split Text Into Collection to get the date and then using the Output Short Time String to get the Time.

I like my beats fast and my bass down low