DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: T-Clock's uptime format  (Read 13,653 times)

Steve Bunnell

  • Supporting Member
  • Joined in 2015
  • **
  • Posts: 4
T-Clock's uptime format
« on: August 02, 2018, 08:36 PM »
Dear Sir,
  First I would like to thank you for keeping up this program, it's a great program and I appreciate your efforts. Second - I display it like is shown in the attachment, but for the last 3 or 4 versions the System-Uptime sometimes works crazy - I can start it up in the morning (after the computer has been off all night) and I get all sorts of values for the System-Uptime --- once I got 125 hrs. when it should have been zero --- could you tell me please how to fix this?
Once again thank you for your work on this handy program!
Steve Bunnell
« Last Edit: August 03, 2018, 07:15 AM by WhiteTigX »

WhiteTigX

  • Member
  • Joined in 2013
  • **
  • Posts: 163
    • Linux User
Re: T-Clock
« Reply #1 on: August 03, 2018, 07:14 AM »
what's your OS?
My latest release of T-Clock Redux can always be found here, on my Github releases page

Steve Bunnell

  • Supporting Member
  • Joined in 2015
  • **
  • Posts: 4
Re: T-Clock's uptime format
« Reply #2 on: August 03, 2018, 07:00 PM »
my OS is Windows 10

WhiteTigX

  • Member
  • Joined in 2013
  • **
  • Posts: 163
    • Linux User
Re: T-Clock's uptime format
« Reply #3 on: August 04, 2018, 06:24 AM »
hmm... I guess it's 64bit, right?
What's the exact format string you're using?
My latest release of T-Clock Redux can always be found here, on my Github releases page

Steve Bunnell

  • Supporting Member
  • Joined in 2015
  • **
  • Posts: 4
Re: T-Clock's uptime format
« Reply #4 on: August 05, 2018, 04:14 AM »
Sorry... yes is 64bit, 16tb memory

sbunnell

WhiteTigX

  • Member
  • Joined in 2013
  • **
  • Posts: 163
    • Linux User
Re: T-Clock's uptime format
« Reply #5 on: August 15, 2018, 11:40 AM »
what does your customized advanced clock format look like?

It's quite possible that Windows 10's fast-boot messes things up a bit.. so if you open an cmd.exe window and run ' systeminfo ' it might show a different "System Boot Time" than expected.
My latest release of T-Clock Redux can always be found here, on my Github releases page
« Last Edit: August 15, 2018, 11:54 AM by WhiteTigX »

Steve Bunnell

  • Supporting Member
  • Joined in 2015
  • **
  • Posts: 4
Re: T-Clock's uptime format
« Reply #6 on: August 15, 2018, 09:55 PM »
Yes - You are right, I restarted my computer as soon as I read your response and then ran systeminfo and it shows start time as 10:49 PM on 8/14/2018 - should be 2:20 PM 8/15/2018. Is there anything I can do for this?

[attachthumb=#]"[- "hh:nn:ss AM/PM" -]""[SYS-UP  =  "Sa"]"\n"["dde mme dd,yyyy"]""[DOY="DOY"  Wk#="Wu"]

SBunnelltclk.jpg

WhiteTigX

  • Member
  • Joined in 2013
  • **
  • Posts: 163
    • Linux User
Re: T-Clock's uptime format
« Reply #7 on: August 16, 2018, 06:28 AM »
Well, I don't think there's anything you could do right now, other than disabling fast-boot if you want Windows to always do a full boot without caching.

I'll have to figure out some other way to calculate the uptime, I guess Task Manager is able to do it. Though it might use an undocumented Windows API like NtQuerySystemInformation()
My latest release of T-Clock Redux can always be found here, on my Github releases page

Original address: https://www.donationcoder.com/forum/index.php?topic=45944.0