+ 4
What is the data type Timestamp in SQL?
How can i use this data type?
10 odpowiedzi
+ 4
Use now() to generate current timestamp in sql
Eg.
INSERT INTO files
(file_id, filename, date_created)
VALUES (10, 'todo.txt', now());
OR
You could generate current time from PHP using date with sql timestamp format:
$now = date('Y-m-d G:i:s');
+ 3
Why do you want to use it ?? 😕😕
+ 3
I wish there is a haha react !! 😂😂😂😂😂 I studied the first lab and didn't find it !! ... Iam on my way to( A+) 😂😂😂😂😂
+ 3
I wish what you wish !! .. 😂😂😂😂
+ 2
Thanks alot..
+ 2
You're welcome, glad if it helps
+ 2
I wish we success tomorrow😂😂😂😂😂
+ 2
Calvin... Thanks alot ^_^
+ 1
Mariam.. I found it in the first lab ya mariam😂😂😂
I want to know... It may be in the tomorrow quize...😅😢