Hi Friends,
Can anyone please provide me the UDF for the following case.I need my output file name in following format
156WE_YYYYmmddHHMMSS.xml
Thanks for quick help..
Regards,
Dinesh
Request clarification before answering.
It is farily simple using the following imports
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
Date now = new Date();
DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SS:SZ");
String date = df.format(now);
You can change the date parameters, search for simpledateformat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.