function formatDate(date)
    {
        return date.getFullYear() 
            + '.' + ('0' + (date.getMonth() + 1)).slice(-2)  
            + '.' + ('0' + date.getDate()).slice(-2)  
            + '-' + ('0' + date.getHours()).slice(-2)  
            + "_" + ('0' + date.getMinutes()).slice(-2) 
            + '_' + ('0' + date.getSeconds()).slice(-2) 
        ;
    }
// Convert date to a format that is good for downloading
Convert date to a format that is good for downloading
Convert date to a format that is good for downloading
function formatDate(date)
    {
        return date.getFullYear() 
            + '.' + ('0' + (date.getMonth() + 1)).slice(-2)  
            + '.' + ('0' + date.getDate()).slice(-2)  
            + '-' + ('0' + date.getHours()).slice(-2)  
            + "_" + ('0' + date.getMinutes()).slice(-2) 
            + '_' + ('0' + date.getSeconds()).slice(-2) 
        ;
    }
function formatDate ( date ) { return date . getFullYear ( ) + '.' + ( '0' + ( date . getMonth ( ) + 1 ) ) . slice ( - 2 ) + '.' + ( '0' + date . getDate ( ) ) . slice ( - 2 ) + '-' + ( '0' + date . getHours ( ) ) . slice ( - 2 ) + "_" + ( '0' + date . getMinutes ( ) ) . slice ( - 2 ) + '_' + ( '0' + date . getSeconds ( ) ) . slice ( - 2 ) ; }
Convert date to a format that is good for downloading
Convert date to a format that is good for downloading