thanks druuna.... my doubt is solved....
But there is a small change to be done in your code....
Code:
date --date="2011-03-26 15:18:39.890480" '+%b %d, %Y %X %p %N'
the output for the above command is
Mar 26, 2011 03:18:39
PM PM 890480000
so removing "%p" gives the exact output
Code:
date --date="2011-03-26 15:18:39.890480" '+%b %d, %Y %X %p %N'
the output for the above command is
Mar 26, 2011 03:18:39
PM 890480000