on 09-18-2015 6:10 AM
Hi Experts,
My scenario is File to Mail scenario. Here I need to trigger the mail when the file will reached to the assigned folder. My mail format is like
EX: I have to trigger the mail like File XXX received at 20150918 10:30:27
In my sender file communication channel I have enabled the SOURCE FILE TIMESTAMP option. I have written UDF to get the source time stamp. But time stamp is coming like 5.30 hrs back to current time.
EX: Current time is like 20150918 10:30:27
Receiving time is like 20159018 05:00:00
I want the time stamp like current time. Iam unable to do this. Kindly help on this.
Regards,
Anji Reddy.
Hi,
You can perform it by applying Timezone change from "java.util.TimeZone" package.
It has methods for setting TimeZone.
Eg: "Calendar.setTimeZone(timeZone)"
Thanks,
Aby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.