It is currently August 3rd, 2021, 9:55 pm

T-Minus: millisecond clock/timer

Clocks and timer skins
User avatar
Posts: 282
Joined: August 14th, 2009, 8:04 am

T-Minus: millisecond clock/timer

Post by killall-q »


This clock/countdown/stopwatch displays milliseconds using os.clock(), which provides the time since program initialization with sub-second accuracy. On load, the skin freezes for a split second while it waits for the next second to begin; it then stores the os.clock() millisecond offset from real time to calibrate the display.


• Switch between time and timer without losing running timer
• Persistent timer runs even while skin is unloaded
• Countdown (T-minus) seamlessly converts to stopwatch (T-plus) on expiry
• Resizable
• 40 frames per second
• Custom digital LCD font


• Click MODE (lower left corner) to switch mode.
• Scroll over SIZE (upper left corner) to adjust size.
• Scroll over timer display to adjust T-minus zero.

• To countdown/up to an exact date/time, convert it to a Unix timestamp and overwrite the "Zero" variable in "T-Minus/@Resources/" (right-click on the T-Minus skin and click "T-Minus" at the top to open the skin's folder), then refresh the skin.


- Changed default color scheme to have transparent background.

- Fixed an accumulating error with persistence.

- Persistent timer: Timer continues to run through refreshes, while skin is unloaded, or computer is off.
Last edited by killall-q on July 28th, 2020, 6:31 pm, edited 6 times in total.
User avatar
Posts: 14
Joined: September 5th, 2014, 2:00 pm
Location: Canberra, Australia

Re: T-Minus: millisecond clock/timer

Post by IDAIS »

Awesome. :D I gotta give this a look. I've been trying to work out how to use milliseconds, and I've learnt to create Rainmeter skins from reverse engineering existing ones (though I know about the rainmeter/docs site, but I find it sometimes less helpful than seeing a working skin).
I Dream Amongst I See - And I Strive to Inspire by all that I am, and all that I ever Create
If you have time, please have a listen, you might just like it :D
Posts: 6
Joined: July 13th, 2018, 1:48 pm

Re: T-Minus: millisecond clock/timer

Post by AABoyz »

Hello, I must admit I was looking for exactly this, installed it but have problems, where is the so-called "Mode" ? and "Size"? I cannot do anything with it, I repositioned it where I want it on my secondary display using the X & Y coordinates because I can't drag it either, even so, that draggable is shaded out, the click-through doesn't do anything & if I manually edit the .ini does not respond

please help, also want to change the colour to 6ae97b to fit my setup

Thank you


I just read the post again and it kinda looks like I'm bashing your work, I apologize, was never the intention, maybe it's because of a newer version of Rainmeter, maybe because I don't really know what I'm doing, I need help and I was only trying to transmit symptoms as it may to try and help to fix the problem.
User avatar
Posts: 430
Joined: February 28th, 2011, 3:20 pm
Location: Vienna, Austria

Re: T-Minus: millisecond clock/timer

Post by ikarus1969 »

"Mode" can be found in the lower left corner - when clicked switches between the view where the current time is displayed and a stopwatch-view.
"Size" can be found in the upper left corner. Move the mouse over it - withe scrollwheel you can then change the size

For the color: edit the skin look for the variable "Color" in the section "[Variables]" and change it from Color=FF0000 to Color=6ae97b
Posts: 6
Joined: July 13th, 2018, 1:48 pm

Re: T-Minus: millisecond clock/timer

Post by AABoyz »

Good, thanks for the reply, the problem was that I had it set too low on the screen and hovering did not bring it to full illumination, having a near-black background made the dimmed SIZE and MODE buttons invisible. All works well, I moved it to a different location where the lover portion is not off the display. but FYI, the draggable option checkbox in the Rainmeter management window is greyed out.

Thank you very much for your help

User avatar
Posts: 282
Joined: August 14th, 2009, 8:04 am

Re: T-Minus: millisecond clock/timer

Post by killall-q »

I've added the button locations to the instructions so people can know generally where to mouse around until the buttons light up on mouseover if they have a dark background.
Posts: 6
Joined: July 13th, 2018, 1:48 pm

Re: T-Minus: millisecond clock/timer

Post by AABoyz »

again, thank you very much as everything works well atm, did I miss it? is there a way to get an audible notification when the timer reaches zero?

trying to get rid of the daim vista clock... :twisted:
Posts: 1
Joined: August 5th, 2020, 6:25 am

Re: T-Minus: millisecond clock/timer

Post by sulicihi »

its possible to change default font?

Dinner that night was lovely, we ate in the candlelight - lighting only a single lamp in the living room so we could see where we were going. We enjoyed a succulent pot roast with accompanying gratin potatoes and sliced buttery carrots. Ashley had picked up a few bottles of a delicious Cabernet, that we drank readily. I noticed an extra bottle on the kitchen counter, dressed with a bow - as if it was a gift.

"Who's that bottle for?" I inquired.

"I thought we'd give it to Richard, for helping us. Maybe you could invite him over for dinner next week as a proper thank you?"

I nodded in agreement "Great idea."
Richard was our new neighbor across the hall. We were having a hard time during our Saturday move and I assume he heard our struggle from inside his apartment. He spent almost five hours helping us carry the larger pieces up from the moving truck. If it wasn't for his help we probably would have been forced to delay until the next Saturday, costing us an entire week and more money. We thanked him profusely at the end of the move but the bottle of wine and invitation to dinner was definitely the right way to handle it.

He was a tall, older man, black - probably about forty-five years old, which would have put him roughly twenty years older than Ash or myself. He seemed rather soft spoken, but had a deep voice and an impressive physical presence. He appeared to be an attractive man, although sometimes it was hard for me to gauge the attractiveness of men, clean cut and seemingly well put together. He also appeared to be in great shape for a man of his age. He lugged large dressers and various pieces of furniture down the hall without really breaking a sweat. We hadn't learned much about him as of yet but we did find out he was widowed, his wife had passed away nearly 10 years earlier from a rare blood disorder. There was a certain melancholy about him, but Ash and I were both good judges of character, and we had a good feeling about the man. Surely dinner would be an ideal way to get to know him better.

Once we had finished the meal and cleaned up I grabbed the bottle and headed out our front door, it was only a few paces across the hallway before I was knocking at his.

The door opened "John, what a pleasant surprise." Richard spoke with kindness in his voice, smiling.

"Hey there, we wanted you to have this." I handed him the bottle. "Nothing fancy, but we wanted to thank you for helping us the other day. Ashley and I also wanted to invite you over for dinner next weekend - if you're available."

Richard looked genuinely grateful "Oh wow, you guys didn't have to get me anything. I was happy to help." He glanced at the label. He was dressed in slacks and what looked to be an expensive sweater. There was some music emanating from his apartment, it sounded classical, moody. I realized I might have came at a bad time.

"I hope I'm not interrupting anything." I offered as a potential apology.

"Oh not at all, I work from home, I was just taking care of some things. I would love to come over for dinner, I'm afraid I don't get out much these days."

"Excellent. I'll let Ashley know."

We exchanged phone numbers and some more small talk, he thanked me again - and we and said our goodbyes.

The week passed relatively quickly, and on Saturday night we found ourselves sitting down at our dinner table with Richard. The wine flowed and the glazed pork loin that Ashley cooked was devoured by the three of us. We discussed a number of topics ranging from careers and politics to entertainment and hobbies. Richard seemed to really love kids, despite not having any of his own - and admired Ashley for working with them on a day to day basis. Richard himself was a writer of sorts. He provided articles and short stories to a number of online outlets who contracted him on a case by case basis - it seemed to make him a good living. When he heard that I was a finance manager he actually seemed interested in attaining my help in setting up some investments. He had never dabbled in the market, and it was apparently something that always interested him.

"I really do love what you've done with the place." Richard also spent a portion of the evening complimenting Ashley's taste and her abilities as a homemaker. "I was over here a couple times when the last tenant occupied it. Let's just say its a night and day difference."

My wife smiled at him as she took the last sip of wine from her glass "Thanks a lot Richard. I spent a good amount of time planning it out. I'm glad someone's taken notice."

"A designers eye, for certain." He smiled back, and wiped his mouth clean with his napkin.

One thing that I couldn't help but notice was a sort of relaxed energy in the room. Even during the move, upon initially meeting Richard, we seemed to get along with him as if we'd known him for years. Ashley took to him immediately, joking with him, and much to my surprise - flirting with him. Smiling at him with excited eyes or jokingly complimenting his strength while he positioned furniture for us. Richard didn't really instigate any of it, he was respectful, but obviously felt the need to return her smiles and go with the flow. I mean, just like any man - I caught him stealing plenty of glances at Ash. It didn't bother me though. I was very much used to seeing men ogle over or flirt with my wife, I would have gone insane if I let those sort of provocations bother me. But it was sort of out of the ordinary for Ash to be the initiator when it came to flirting, and I planned to give her a hard time about it later.

"So, Richard. Are you, um, dating - or seeing anyone?" Ashley asked with raised eyebrow. The question was a tad forward, although harmless, and I jokingly scolded her for asking it.

"...Now now Ash, that's personal..."

Richard chuckled "No, no. It's quite alright." He took another sip of the Cabernet, and continued "Not really, to be honest. It took a good five years after my wife passed to even think about another woman's company. A few of my friends eventually got me to go on a date, and then another. Over the last few years I've seen a handful of women, but only for brief stints." He paused, seemingly thinking for a moment "... I haven't made much of an effort really."

Ashley was now standing and picking up the plates from our table. "Well, that's too bad. You seem like quite the catch." I stood to help her with the silverware.

Richard smiled again, slightly chuckling "Well... My goodness. That certainly means a lot coming from a woman as beautiful and talented as yourself." He looked in my direction for a moment. "John, I don't think I'd be the first to tell you that you're a lucky man." He raised his wine class in acknowledgement. I looked at Ashley for a moment and caught her blushing.
"You certainly wouldn't be. I'm not the smartest man in the world, but I'm certainly smart enough to know that I'm the luckiest." I leaned in and gave my wife a heavy kiss on her cheek.

Ashley replied with a sarcastic, but loving "Aww. Isn't that sweet." she raised her hand to her face, shielding her mouth from me. She spoke in a fake whisper so that I could hear "Psst.. He's lying."

Richard began laughing as he stood. He picked up his plate and moved towards the kitchen. "You guys remind me of my wife and I, when we were newlyweds - it's really great to see."

"Richard don't you dare help clean up." Ashley playfully swatted at his arm. "Let me have that. Go have a seat in the living room."

He gently dropped the plate and put his arms up in amusement "Yes ma'am. Don't know what I was thinking." I couldn't help but notice that my wife's ass grazed against his trousers as they moved past each other. Richard gently grabbed her waist as he slid past her. Ashley's eyes darted open for a moment, but she continued placing the dishes in the sink as if nothing happened.

The meal was over and I was in the mood for an after dinner drink, "Come Richard. Would you be opposed to a nice scotch? I have a 30 year and I've been looking for an excuse to crack it open. Received it as a gift." I waved his attention towards the living room.

"Oh wow, a thirty year? I could never say no." He followed me towards the sofa, where we both sat.

Ash called from the kitchen "Guys, do you want it on the rocks, or straight?"

Richard looked at me and then replied, loudly so she could hear him "Straight please." I nodded in agreement, couldn't in good faith water down a thirty year malt.

A few minutes later Ashley arrived with two glasses of scotch. I quickly noticed that the top of her dress was soaking wet, causing the thin green fabric to appear sheer. Her black bra was as clear as day underneath it, the skin on her exposed cleavage was also drenched. She was moving in a hurry.

"Here take these, the sink just attacked me." She quickly handed one drink to me, and one to Richard. Richard couldn't help but stare as she leaned forward, her tits nearly spilling out of the top of her dress. It seemed to catch him off guard, because as she turned to go he continued to gaze at her ass, which was admittedly popping in the tight dress she was wearing.

I didn't want to make it awkward for him, so I simply called out "Don't drown in there babe." That seemed to get him to break away from his tunnel vision, turning his attention back towards me.

Richard hung around for another half hour or so, enjoying the scotch and discussing sports and his love of basketball. He was incredibly thankful in his departure, shaking my hand firmly and giving Ashley a kiss on the cheek. "Incredible meal, and an incredible couple." were his departing words.

Later that week Ashley and I were cleaning up around the apartment, playfully annoying each other during our respective tasks.

I decided now would be a good time to press her on her flirtation with Richard, smacking her ass as she bent down to dust an end table "You know... I think you might have a crush on our new neighbor." I smirked smugly as I spoke.

Ashley immediately stood up "Excuse me? Who?" I made a face at her implying a sort of 'Who else?', and she quickly realized who I meant "... Richard?! What on earth would make you say that?"

I continued smirking "I dunno, maybe it was you giggling at his every word, or you being especially touchy, or you going on about his strong arms..." I rattled off the evidence with auctioneer like speed.
Last edited by sulicihi on October 28th, 2020, 3:08 am, edited 1 time in total.
Posts: 6
Joined: July 13th, 2018, 1:48 pm

Re: T-Minus: millisecond clock/timer

Post by AABoyz »

Sure is, personally, I recommend you leave the font as it was meant by the author but in the spirit that he has helped me, I'll pay it forward and help, this can obviously be deleted as wished by the Author.

The Font is located in x:\xxxxxxxxx\Documents\Rainmeter\Skins\T-Minus\@Resources\Fonts
it is called: Digital LCD.ttf
as seen in the .ini file at line 37
FontFace=Digital LCD
you can use any font you own or have the right of access to...
like in the Windows folder...: which should be here: C:\Windows\Fonts
P.S. when in the windows font folder, hit the following key combination [Shift+Ctrl+2] to view the fonts themselves
copy the font of your liking into the T-Minus font folder and amend the .ini file at line 37 with the font name you chose. save the file then reload the skin

User avatar
Posts: 282
Joined: August 14th, 2009, 8:04 am

Re: T-Minus: millisecond clock/timer

Post by killall-q »

Yes, you can use any font as AABoyz has described. You do not need to copy in the font file for system fonts in C:\Windows\Fonts. You will have to adjust the coordinates of meters to line things back up.

I custom designed this font for this skin, so parts of the skin will look broken with other fonts, because certain characters of the font are non-standard to fulfill specific functions in the skin.