Profile
Achievement
aristoworks's Recent SnippetsTagged date
- All /
« Prev 1 Next »
This is a very rudimentary function used to convert a Datetime delivered by the Twitter API to a format you can store in MySQL's datetime field.
0
1489
posted 13 years ago by aristoworks
This simple function allows you to find a weeks position in the month based on a given date. For instance I needed to alert the user their date was the "Second Week Of January" during a given month. I may never use it again but it came in very hand...
0
3172
posted 13 years ago by aristoworks
This is a simple function that will return an array of all the dates corresponding to the day 'Monday' for a given year. It's pretty simple and may not be the cleanest way but it works for my purpose.
0
964
posted 14 years ago by aristoworks