Trying to draw a vertical bar with dates and radio button inline to years of my own life. Line is drawn but the formula is needed
1 person is 100 year max assume 1 year is 365 days 1 day is 24 hours 1 hours is 60 min 1 min is 60 second. Total number of pixel is 3153600000
This value maxout the browser and i have to reduce to keep testing.52560000 minus seconds. Still max out next reduce to 876000 minus minute and second
This value can be draw to browser 1 line down.
Now to add book mark radio button on each pixel that represent the date of event year,days,hours.Then i think of the size each hour is 5 px i might need to do looping
Writing loop is boring so i straight go to xmlhttp and do the looping for me.
Suddenly i think each output will need 20 px , 12px word 4px top 4px bottom and 17520000 px seems ok for browser
Again adding some border browser went overflow. i revert back to years days 20px only 730000
Problem with button doesnt stick to date all lump to top, need to convert date to px number
need to try attribute setting last time i was unable to admend top style and on the net wasn't alot of article
i am able to find article and the answer is shown i am able to use
Back to date system i found answer too and implemented it no i don't need to sort sql before hand as date with earlier days will give small number.
I cant believe the timestamp maximum date is 2038 due to two digit 00 to 99 which timestamp cannot insert earlier than this date
Finally almost done so key in all data which i can only think of is my life. lucky the date will auto sort i can any o how insert as i like
Next i think i can only input the calendar i usualy make and key in all but i cound always use union. Then again why not rephrase all records.
After trying around it seems that 36526 is the final result height i wanted if future looks too tight will need to multiply with scale factor