Python Forum
Store Previous date to calculate delta from today
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Store Previous date to calculate delta from today
#7
Thanks for your response.

(May-07-2020, 10:59 PM)SheeppOSU Wrote: You may need to use a txt file in which to save the list if the program is not always running

Before writing this script I have actually used this method and it worked perfectly fine for me, except for one glitch. i.e. I was not able to bundle that text file with the script file to give to someone else or make it work on another computer. So I decided to include this information in one script file only and get rid-off the text file.

(May-07-2020, 10:59 PM)SheeppOSU Wrote: If you have any other problems I'm happy to help

I ran the script with the changes advised by you but now I ran into some other errors. It shouldn't be this difficult, its just that I am not literate enough in this field at this point of time. I guess I need to make do with the previous .txt file version as it was simple and it worked.

Thanks again for all your help.
Reply


Messages In This Thread
RE: Store Previous date to calculate delta from today - by Captain_Wolf - May-08-2020, 06:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Compare current date on calendar with date format file name Fioravanti 1 369 Mar-26-2024, 08:23 AM
Last Post: Pedroski55
  Python date format changes to date & time 1418 4 786 Jan-20-2024, 04:45 AM
Last Post: 1418
  i tried to install python for the first time today and pretty certain im being remote brianlj 2 630 Oct-03-2023, 11:15 AM
Last Post: snippsat
  Calculate next rows based on previous values of array divon 0 1,892 Nov-23-2021, 04:44 AM
Last Post: divon
  Date format and past date check function Turtle 5 4,533 Oct-22-2021, 09:45 PM
Last Post: deanhystad
  Datetime strp\delta problems korenron 2 2,167 Jun-13-2021, 10:35 AM
Last Post: korenron
  Need to identify only files created today. tester_V 5 4,823 Feb-18-2021, 06:32 AM
Last Post: tester_V
  How to add previous date infront of every unique customer id's invoice date ur_enegmatic 1 2,308 Feb-06-2021, 10:48 PM
Last Post: eddywinch82
  Make list of dates between today back to n days Mekala 3 2,462 Oct-03-2020, 01:01 PM
Last Post: ibreeden
  How to add date and years(integer) to get a date NG0824 4 2,979 Sep-03-2020, 02:25 PM
Last Post: NG0824

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020