Welcome Guest.   Make a donation to an author on the site July 28, 2014, 11:30:06 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Kyrathasoft How Long Since? (my 2nd Coding Snacks fulfillment)  (Read 2169 times)
kyrathaba
N.A.N.Y. Organizer
Moderator
*****
Posts: 3,010



while(! dead_horse){beat}

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« on: January 19, 2012, 06:19:30 PM »

How Long Since? is a tool for finding the time that has elapsed since a particular date-time; you set the name of the event, its description, and the exact date and time on which the event occurred. Clicking a given event in the listbox, you'll be presented with time elapsed since that date. This value updates each second. You can delete a particular item by double-clicking it in the listbox. When entering the time component of the DateTime of an event you're about to save, simply enter the time as it would be in the local time used by your PC. The program will convert this to UTC, and any items in the listbox that you click upon will show the UTC version of the time.



click to download
« Last Edit: January 20, 2012, 07:08:52 AM by kyrathaba » Logged

Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 26.0
_________________________________________________________________________________________

I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF

My DC page: http://kyrathaba.dcmembers.com | My blog: http://williambryanmiller.com/ | Proofreading Service: http://bit.ly/1fQSqQP

kyrathaba
N.A.N.Y. Organizer
Moderator
*****
Posts: 3,010



while(! dead_horse){beat}

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: January 19, 2012, 08:46:59 PM »

New version prevents illegal characters from being used for the short description, since the short description is used as a file-name when a historical event is saved to disk.

Also, be aware that the conversion of the time from local PC time to UTC can have the effect of shifting the day's date forward 1 day. For example, if you entered December 28, 1970 11:57 PM and saved it while running the program on a PC set to Central Standard Time, when you clicked on the saved item in the listbox, you'll see the Date and Time change to Dec. 29, 1970 5:57 AM.  Same moment in history, but the shift occurs because we've converted to UTC.

Also, be aware that one year is actually 365.25 days, which is why every 4 years is a Leap Year, and adds a 29th day to February.  So if you're watching the one-year-elapsed-time mark arrive on one of your events, you're going to see this:



"0y" doesn't change to "1y" until the Days part of the elapsed time TimeSpan  is 91.25.
« Last Edit: January 20, 2012, 07:51:34 AM by kyrathaba » Logged

Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 26.0
_________________________________________________________________________________________

I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF

My DC page: http://kyrathaba.dcmembers.com | My blog: http://williambryanmiller.com/ | Proofreading Service: http://bit.ly/1fQSqQP

kyrathaba
N.A.N.Y. Organizer
Moderator
*****
Posts: 3,010



while(! dead_horse){beat}

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: January 20, 2012, 02:58:14 PM »

Newest version available for download is v1.0.0.3, and adds the ability to import Historical Event files (*.hevnt). The key combination Ctrl-I brings up the Import file-open dialog.
Logged

Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 26.0
_________________________________________________________________________________________

I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF

My DC page: http://kyrathaba.dcmembers.com | My blog: http://williambryanmiller.com/ | Proofreading Service: http://bit.ly/1fQSqQP

kyrathaba
N.A.N.Y. Organizer
Moderator
*****
Posts: 3,010



while(! dead_horse){beat}

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: January 21, 2012, 11:17:25 AM »

Newest version, 1.0.0.4 adds the ability to edit an existing historical event (i.e., one already shown in the listbox). Just change the long description, date, and time to your desired values, then right-click the item in the listbox and click the menu item to save your changes to file.

download newest version
Logged

Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 26.0
_________________________________________________________________________________________

I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF

My DC page: http://kyrathaba.dcmembers.com | My blog: http://williambryanmiller.com/ | Proofreading Service: http://bit.ly/1fQSqQP

kyrathaba
N.A.N.Y. Organizer
Moderator
*****
Posts: 3,010



while(! dead_horse){beat}

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: January 21, 2012, 05:04:37 PM »

Newest version is 1.0.0.5. Be sure that the version you have installed is at least v1.0.0.5, because as of this version, the program checks for an update at startup.
Logged

Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 26.0
_________________________________________________________________________________________

I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF

My DC page: http://kyrathaba.dcmembers.com | My blog: http://williambryanmiller.com/ | Proofreading Service: http://bit.ly/1fQSqQP

kyrathaba
N.A.N.Y. Organizer
Moderator
*****
Posts: 3,010



while(! dead_horse){beat}

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: January 21, 2012, 07:00:33 PM »

New version, 1.0.0.6, can add two times together:




download newest version
Logged

Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 26.0
_________________________________________________________________________________________

I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF

My DC page: http://kyrathaba.dcmembers.com | My blog: http://williambryanmiller.com/ | Proofreading Service: http://bit.ly/1fQSqQP

kyrathaba
N.A.N.Y. Organizer
Moderator
*****
Posts: 3,010



while(! dead_horse){beat}

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: February 04, 2012, 04:50:35 PM »

v1.0.0.7 corrects the title of secondary form from "Add Two Times Together" to "Add Two Timespans Together".
Logged

Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 26.0
_________________________________________________________________________________________

I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF

My DC page: http://kyrathaba.dcmembers.com | My blog: http://williambryanmiller.com/ | Proofreading Service: http://bit.ly/1fQSqQP

Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.034s | Server load: 0.08 ]