Message 1 of 6

Not applicable
11-02-2018
08:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a rule that grabs the value of a particular custom date property and sets another custom date property to that value when the rule is run.
Date Property B = Date Property A
My problem is this: sometimes the value of Date Property A contains the time. When I copy this value to Property B, and property B is used to create a folder path, it causes problems. Is there a way I can strip the time out of the property value? BTW, the time does not show in the properties dialog in IV.
Custom Property dialog
Actual value of property
My code looks like this:
'Some Code oToday = iProperties.Value("Custom", "Rev Date") iProperties.Value("Custom", "Dwg Request Date") = oToday 'Some Code
If there was some string split function I could perform on oToday, to strip the time off the end it would be great.
Anybody have any ideas?
Solved! Go to Solution.