online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; public class Main { public static void main(String args[]) { //getting the current time for joining date Calendar cal = Calendar.getInstance(); //milli sec // SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); sdf.setTimeZone(TimeZone.getTimeZone("Asia/Singapore")); String joiningDate = sdf.format(cal.getTime()); System.out.println("Joining Date: "+joiningDate); } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue