PHP and MySQL syntax: Difference between revisions
Jump to navigation
Jump to search
← Older edit
Newer edit →
PHP and MySQL syntax
(edit)
Revision as of 08:56, 14 March 2015
No change in size
,
14 March 2015
m
→PHP microtime to MySQL timestamp
Revision as of 08:55, 14 March 2015
(
edit
)
Planetoid
(
talk
|
contribs
)
(
→specified time
)
← Older edit
Revision as of 08:56, 14 March 2015
(
edit
)
(
undo
)
Planetoid
(
talk
|
contribs
)
m
(
→PHP microtime to MySQL timestamp
)
Newer edit →
Line 60:
Line 60:
$timestamp = date('Y-m-d H:i:s', $second);
$timestamp = date('Y-m-d H:i:s', $second);
//$timestamp: 2015-03-13
21
:
06
:
01
//$timestamp: 2015-03-13
10
:
10
:
57
</pre>
</pre>
Planetoid
Bureaucrats
,
Administrators
14,983
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
Special pages
Printable version