Digital Clock & Date

By JoeSimmons Last update May 9, 2009 — Installed 3,066 times.

How can I add the date?

in
Subscribe to How can I add the date? 17 posts, 3 voices



unfocused User

Any chance we can add a date next to our clock?

Great work, btw. I only keep my taskbar visible so I can see the time and date, now I can autohide it and just use this.

 
JoeSimmons Script's Author

I just added a date option to the script.
I'm sorry I am so late but I never saw this comment.

 
unfocused User

Oh, thanks! So much better now. I was using a widget instead, and that thing was so big that it was distracting. This one's great.

 
auscompgeek User

what if someone wants the day first instead of month?
such as Mon 4 May 2009 instead of Mon May 4 2009

 
JoeSimmons Script's Author
auscompgeek wrote: what if someone wants the day first instead of month?
such as Mon 4 May 2009 instead of Mon May 4 2009
Mon May 4 2009 is what Date() returns. In order to change that, it would include a lot more work with variables and more matching to move it around. Do you really still want it? If so, it is possible to do.
 
auscompgeek User

this script isn't too long... go ahead.

 
JoeSimmons Script's Author
auscompgeek wrote:

this script isn't too long... go ahead.
I don't know what you mean by it isn't too long, but I will work on it.
Ok I took a long time, and added it. There is an option date_arrangement you can edit. By default the arrangement is weekday month day year. For what you wanted, change it to weekday day month year.
 
auscompgeek User

thanks, it looked weird before to me because I'm not American :P

EDIT: What happened, all I see now is a white dot...?

 
JoeSimmons Script's Author
auscompgeek wrote:
EDIT: What happened, all I see now is a white dot...?
OOPS! Fixed that. It didn't recognize Saturday and Sunday, but it would work on any other day, lol.
 
auscompgeek User

No wonder, it's Saturday, didn't realise when I was looking at the source code, lol

 
auscompgeek User

I know, how about displaying the date as Sun 10/5/09?

 
JoeSimmons Script's Author
auscompgeek wrote:
I know, how about displaying the date as Sun 10/5/09?
I could make a special mod for you and paste the code on Pastebin if you want.
 
auscompgeek User

maybe, but that will take a bit of time wouldn't it?

 
JoeSimmons Script's Author
auscompgeek wrote:
maybe, but that will take a bit of time wouldn't it?
Yeah it would. Do you want it?
 
auscompgeek User

Sure, go ahead.

 
auscompgeek User
MozillaWindows

Wait a minute... there's new Date().toLocaleString()...

 
JoeSimmons Script's Author
FirefoxWindows

I'm sorry about your request, I totally forgot about it in the midst of doing so many other things. I'll check it out soon.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel