function getdate() {

// Get the current date
today = new Date()

// get date 15 mins ago
date_now = new Date(today - (15*60*1000));

// get month
month_value = date_now.getMonth()
month_value = month_value + 1

// get the day of the month
day_value = date_now.getDate()

// Add the year (2 digit year)
year_value = date_now.getFullYear()
// year_value.substring(2)

if (day_value < 10) {
	day_value = "0" + day_value
}

if (month_value < 10) {
	month_value = "0" + month_value
}

// Get the minutes in the hour
minute_value = date_now.getMinutes()
if (minute_value < 10) {
    minute_value = "0" + minute_value
}

// Get the hour value and use it to customize the greeting
hour_value = date_now.getHours()

if (hour_value < 10) {
	hour_value = "0" + hour_value
}

// alert('in here')
document.write('<small>' + day_value + "/" + month_value + "/" + year_value + " " + hour_value + ":" + minute_value + '</small>')
}

