The flash drive was handy, so I let it copy itself onto there, which required it be reformatted.
This is very good for SEO especially search engines like Google .
An example of this relates to a comment made by james at bandit-dot-co-dot-en-zed.
James was looking for a way to calculate the number of days which have passed since a certain date.
I have a magnum 128GB USB 3.0 flash drive that I've been using for a while.
Yesterday, I needed to reinstall Windows 8 but required a copy to be on a DVD or Flash Drive.
This is because the Julian calendar (from which the Easter date is calculated) deviates from the Gregorian by one day for each century-year that is NOT a leap-year, i.e. (In the old Julian reckoning, EVERY 4th year was a leap-year.) This algorithm was first proposed by the mathematician/physicist Gauss.
Its complexity derives from the fact that the calculation is based on a combination of solar and lunar calendars.The correct alghoritm is:if (year is not divisible by 4) then (it is a common year)else if (year is not divisible by 100) then (it is a leap year)else if (year is not divisible by 400) then (it is a common year)else (it is a leap year)So the code should look like this:if($year%4 == 0 && $year0 != 0) elseif([email protected] == 0) else In order to define leap year you must considre not only that year can be divide by 4!substr((string)microtime(), 1, 6);that will give you: yyyy/mm/dd hh:ii:ss.uuuuuuhope this helps someone in need!thanks all I've been flicking through the comments looking for some succinct date code and have noticed an alarming number of questions and over-burdened examples related to date mathematics.It might actually be the day after tomorrow or still today. Note that some formatting options are different from My SQL.