package pl.kwarda.test.hellow;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.TextView;

import java.util.Date;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ((TextView)findViewById(R.id.details)).setText(new Date().toString());

    }

    public void goNext(View view) {
        startActivity(new Intent(this,LoginActivity.class));
    }
}

@@ -523,16 +523,42 @@
 ew Date(
+System.currentTimeMillis()
 ).toStri

change date constructor