topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 10, 2018, 10:45 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: T-Clock's uptime format  (Read 1103 times)

Steve Bunnell

  • Supporting Member
  • Joined in 2015
  • **
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
T-Clock's uptime format
« on: August 02, 2018, 03: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, 02:15 AM by WhiteTigX »

WhiteTigX

  • Moderator
  • Joined in 2013
  • *****
  • Posts: 161
    • View Profile
    • Donate to Member
Re: T-Clock
« Reply #1 on: August 03, 2018, 02: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
  • **
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
Re: T-Clock's uptime format
« Reply #2 on: August 03, 2018, 02:00 PM »
my OS is Windows 10

WhiteTigX

  • Moderator
  • Joined in 2013
  • *****
  • Posts: 161
    • View Profile
    • Donate to Member
Re: T-Clock's uptime format
« Reply #3 on: August 04, 2018, 01: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
  • **
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
Re: T-Clock's uptime format
« Reply #4 on: August 04, 2018, 11:14 PM »
Sorry... yes is 64bit, 16tb memory

sbunnell

WhiteTigX

  • Moderator
  • Joined in 2013
  • *****
  • Posts: 161
    • View Profile
    • Donate to Member
Re: T-Clock's uptime format
« Reply #5 on: August 15, 2018, 06: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, 06:54 AM by WhiteTigX »

Steve Bunnell

  • Supporting Member
  • Joined in 2015
  • **
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
Re: T-Clock's uptime format
« Reply #6 on: August 15, 2018, 04: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?

tclk.jpgT-Clock's uptime format"[- "hh:nn:ss AM/PM" -]""[SYS-UP   =   "Sa"]"\n"["dde mme dd,yyyy"]""[DOY="DOY"  Wk#="Wu"]

SBunnelltclk.jpgT-Clock's uptime format

WhiteTigX

  • Moderator
  • Joined in 2013
  • *****
  • Posts: 161
    • View Profile
    • Donate to Member
Re: T-Clock's uptime format
« Reply #7 on: August 16, 2018, 01: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