...
day of the month (dd)
4
%j
day of year, zero padded
001-366
%u
day of week starting with Monday (1), i.e. mtwtfss
1
%w
day of week starting with Sunday (0), ...
... converts it to a thumbnail. I then upload the images to my server and this Joomla! CMS uses them. Maybe I'll run this program again in a month, maybe a year. My websites don't depend on real-time screenshots ...
... Unfortunately the developer wrote a system he felt would last the rest of his PhD degree, it's a shame he started in his last year. He used functions to mktime and simulate the dates. A function goes ...
... Date (european format - dd/mm/yyyy)
=CDate("01/" + cstr(month(today.now())) + "/" + cstr(year(today.now())))
-- To Date (european format - dd/mm/yyyy)
=dateadd("d",-1, CDate("01/" + cstr(month(today.now())+1) ...
... had created the system to only last during one academic year, and the system itself only just about understood academic years (required tweaking twice a year). Then there were the error logs... some 20000 ...
...
What does this do?
After many tweaks and corrections having upgraded multiple sites in the past few years with this script, the version below migrates the following:
Articles
Banners
Categories ...
... the header from "Reinventing the wheel" to the Month and Year based on this parameter:
Note that I've asked it to return the full date of the parameter, this is because I will format it via the text-bo ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.