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

ILIA KISIL
124
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()));
}}
link

answered 26 Aug, 06:17

Demotivator's gravatar image

Demotivator
11
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](http://url.com/ "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

Tags:

×30
×21
×13

Asked: 29 Mar '16, 17:37

Seen: 1,204 times

Last updated: 26 Aug, 06:17