I need to convert new Date() to Julian date format.is there is any build in java function for this. my exact requirement is
Represents the creation date of the file in
Use SimpleDateFormat.
The following code returns the Julian date string for date according to the format you gave.
date
String julianDateString = new SimpleDateFormat("'0'yyD").format(date);