on 02-26-2009 12:14 PM
Hi
In my mapping, in need to get the GMT time and . i guess there is no standard function for that. Can anyone help me with the UDF.
i tried
String temp = temp.toGMTString();
but it gives me an error.
Thanks
Sandeep
Hi Sandeep,
first you need to find out which input and output parameter that method toGMTString();
has, output is obvisious string. If input is as well string, than you use a variable, for example a, from UDF input:
String GMT;
GMT = a.toGMTString;
return GMT;
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sandeep,
This code will return the current GMT time:
return new java.util.Date().toGMTString();
Kind regards,
Koen
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 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.