Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EC516
#1
I'm pretty sure this isn't right.

I'm having trouble finding calculations for Epoch LINUX time format, but it isn't what this python script is.

First line I think is a red herring.
It decodes that encoded string and removes spaces, but doesn't encrypt it.

2nd line sets up Format DateTime today as d.
i.e. today = 6/26/2022 in American

date then takes (10000*d.year + 100*d.month + d.day) 
= 10000*2022 + 100*6 + 26
= 20220000+ 600 + 26
= 20220626
= yyyymmdd in string
Reply
#2
It is now fixed. Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)