Actually, it is not a question. It is rather statement. When I did this task my solution was not accepted. Even though it is very simple assignment. Apparently, this project belong to russian developers. Therefore, current date is supposed to match current date in Russia. Russia is a big country but I would assume that Moscow time zone should be fine. At least it worked for me.

Can administration confirm my guess?

asked 29 Mar '16, 17:37

ILIA%20KISIL's gravatar image

accept rate: 0%

Try this:

import java.text.SimpleDateFormat;

import java.util.Calendar;

public class Solution {

public static void main(String[] args) {

    System.out.println(new SimpleDateFormat("dd MM yyyy").format(Calendar.getInstance().getTime()));

answered 26 Aug '18, 06:17

Demotivator's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 29 Mar '16, 17:37

Seen: 1,391 times

Last updated: 26 Aug '18, 06:17