What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » getMinutes() help :(

getMinutes() help :(
Author: Message:
m0nst3rkill3r
Junior Member
**

Avatar

Posts: 51
Joined: Sep 2009
O.P. getMinutes() help :(
Hey.
I Need help :D
I try to get the date, with the "getMinutes() " but it goes 01234567891011
i need the time with 00 01 02 03 04... How can i get it?

greetings
09-25-2009 06:12 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: getMinutes() help :(
Javascript code:
function getMins ()
{
    var minutes = new Date().getMinutes();
    return (minutes<10?'0':'')+minutes;
}


Like that?
09-25-2009 07:13 PM
Profile E-Mail PM Find Quote Report
m0nst3rkill3r
Junior Member
**

Avatar

Posts: 51
Joined: Sep 2009
O.P. RE: getMinutes() help :(
Yepp Thank you :D
09-25-2009 07:33 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On