Java tutorial
//package com.java2s; public class Main { public static String getMonth(String datenf) { return datenf.substring(4, 6); } }