on 10-23-2009 10:54 AM
How do we capture currentDateTime upto milliseconds in graphical mapping???
Thanks in advance!!!
use the standard date function and along with the date also provide the time pattern as HHMMSS
easily done by the standard date function.. no need for a UDF
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks guys...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As said above, use standard date function and use "yyyy-MM-dd HH:mm:ss.SSS" format. Date format you can set as per your need.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Its very simple if you write one simple UDF and use DATE Function in that,add this method to format the date with seconds
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.text.ParseException;
import java.util.Date;
Date now = new Date();
SimpleDateFormat format = new SimpleDateFormat("YYYY MM dd HH:mm:ss ");
return format;
Regards,
Raj
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.