Mega Code Archive
Two-digit day of the month
import java.util.Date;
public class MainClass {
public static void main(String[] args) {
Date now = new Date();
System.out.printf("two-digit day of the month: %td/%Td\n", now, now);
}
}
two-digit day of the month: 24/24