Here you can find the source of getDateMilliseconds(Calendar pDate)
public static long getDateMilliseconds(Calendar pDate)
//package com.java2s; /*********************************************************************************************** * Project: Tourist Guide System Toguis/* ww w . j a v a 2s . co m*/ * University: UNIAJC * Authors: Julieth Candia and Carlos Morante * Year: 2014 - 2015 * Version: 1.0 * License: GPL V2 ***********************************************************************************************/ import java.util.Calendar; public class Main { public static long getDateMilliseconds(Calendar pDate) { return pDate.getTimeInMillis(); } }