on 09-28-2011 5:26 PM
Hi,
i marked the a field as Display field this way it is displayed in the Email notification. (%Records%).
But i can see the letral date field displayed in email as 2010:03:09:00:00:00:000
Why is the ''00:00:00:000'' displayed when i have a date field??
Did anyone face this issue..
KR
John
HI John,
Date field in MDM is 18 characters long and has date as well as time component to it.
You can use assignment to trim this and transfer its value to another field and make that field as DF,so that it is displayed in the mail as date.
Otherwise you can also create a calculated field for this purpose.
Please go through this very useful link to create expressions/validations with dates:
Thanks,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI John,
Yes you are right.
I guess what is happening is the Literal date is only sending the date component but in mails it is getting auto converted to Text format,and so 00.00.00 gets appended to the field value.
The below mentioned is the format of date in text format:
Text Static text with u201C:u201D separators. The date is now a string and
allows for alphanumeric sorting.
2007:05:06:09:43:04:000
To resolve this you can trim the appended characters.
Thanks,
Ravi
Hi,
thats right.
But how can i write a validation to remove '00:00:00:000' from 2011:09:19:00:00:00:000.
I moved the literal date fied to a text field and i can see 2011:09:19:00:00:00:000.
Now i need to remove the '00:00:00:000' from this date, How can we do this , I think we dont have 'replace' function in MDM assignment!!!
KR
John
Hi John,
Now i need to remove the '00:00:00:000' from this date, How can we do this ,
This can easily be done using LEFT() Function. It (2011:09:19) include total 10 characters, so please use the below expression.
LEFT(Field name, 11) where field name is your literal date.
Note: Trim function will not work here as it only trim extreme spaces only.
Kindly revert with result.
Regards,
Mandeep Saini
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.