Hai i have a field which has dates
example : 1-Oct-13
4-Dec-13
28-Oct-13
I have to convert to below format
01-Oct-13
04-Oct-13 and so on....
Please help me
Thanking you in advance
Try this. Assuming your field name is date.
your base search | eval date=strptime(date,"%e-%b-%y") | eval date=strftime(date,"%d-%b-%y")
Try this. Assuming your field name is date.
your base search | eval date=strptime(date,"%e-%b-%y") | eval date=strftime(date,"%d-%b-%y")