Subversion Repositories HomeAutomation

Rev

Rev 999 | Rev 1231 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 999 Rev 1189
Line 89... Line 89...
89
}
89
}
90
 
90
 
91
Date.prototype.getTimeFormated = function()
91
Date.prototype.getTimeFormated = function()
92
{
92
{
93
    return this.getHours().toString().pad(2, "0", 0) + "." + this.getMinutes().toString().pad(2, "0", 0) + "." + this.getSeconds().toString().pad(2, "0", 0);
93
    return this.getHours().toString().pad(2, "0", 0) + "." + this.getMinutes().toString().pad(2, "0", 0) + "." + this.getSeconds().toString().pad(2, "0", 0);
-
 
94
}
-
 
95
 
-
 
96
Date.prototype.getTimeShortFormated = function()
-
 
97
{
-
 
98
    return this.getHours().toString().pad(2, "0", 0) + "." + this.getMinutes().toString().pad(2, "0", 0);
94
}
99
}
95
 
100
 
96
Date.prototype.getDateTimeFormated = function()
101
Date.prototype.getDateTimeFormated = function()
97
{
102
{
98
    return this.getDateFormated() + " " + this.getTimeFormated();
103
    return this.getDateFormated() + " " + this.getTimeFormated();