I grab the current time using the timefunction, then convert it to a string with snprintf.
我们使用time函数来获取当前时间,然后使用snprintf将其转换成字符串。
2
It is recommended, for clarity, that a single time-function symbol, as appropriate, be used to represent each timefunction in its entirety.
清楚起见,建议使用单时间函数符号来表示整个函数中的每个时间函数。
3
Entries and objects will set their published date to the current date (using the PHP timefunction) by default. Listing 6 shows the base class for entries.