PHP The First Day
167
lượt xem 72
download
lượt xem 72
download
Download
Vui lòng tải xuống để xem tài liệu đầy đủ
Here is an often requested function to fetch the first day of the month. The function takes a single, optional parameter which is a unix timestamp of any date. The function will then return the unix timestamp of the first day of the month from the UNIX TIMESTAMP. If no timestamp is given, the function defaults to the current month. The resulting timestamp can then be used with the PHP date() function to manipulated in any way possible. Ideal for calander classes or anywhere the first day of a month is required....
Chủ đề:
Bình luận(0) Đăng nhập để gửi bình luận!
CÓ THỂ BẠN MUỐN DOWNLOAD