How to get current date in JavaScript?

Learn how to get current date in JavaScript with this small tutorial
31 October 2017   91044

Feel free to use new Date() to generate a new Date object containing the current date and time.

var today = new Date();
var dd = today.getDate();
var mm = today.getMonth()+1; //January is 0!
var yyyy = today.getFullYear();

if(dd<10) {
    dd = '0'+dd
} 

if(mm<10) {
    mm = '0'+mm
} 

today = mm + '/' + dd + '/' + yyyy;
document.write(today);

This will give you today's date in the format of mm/dd/yyyy.

Simply change today = mm +'/'+ dd +'/'+ yyyy; to whatever format you wish.

 

TON Blockchain Testnet Lite Client to be Available

Telegram team hadn't confirmed the authenticity of the page and the data published on it
30 May 2019   308

Users have gained access to the test network of the Telegram Open Network (TON) blockchain platform - a preliminary version of the light client has been published.

This simplified version includes only the files needed for compilation, in particular, the RocksDB database and the Abseil library. After assembling and configuring the light client, it connects to the full node of the TON test network.

In addition, the site published step-by-step instructions for creating smart contracts in TON in the Fift programming language specially created for Telegram.

Additionally, users can familiarize themselves with the description of the TON virtual machine and blockchain platform.

It should be noted that representatives of Telegram did not publicly confirm the accuracy of the page and the data published on it.

Recall that the launch of the TON blockchain platform will take place in the third quarter of 2019. Earlier, developers reported on the successful conduct of a closed testing project.

You can get more info and download source code, configutation file, etc at the webpage.