C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

How to find current date and time?

0 votes
10 views
asked by sara Guru (24,570 points)

1 Answer

0 votes
The date() function provides you with a means of retrieving the current date and time, applying the

format integer parameters indicated in your script to the timestamp provided or the current local time

if no timestamp is given. In simplified terms, passing a time parameter is optional - if you don't, the

current timestamp will be used.
answered by rajesh Guru (39,140 points)

Related questions

0 votes
1 answer 16 views
16 views asked by felin Advisor (8,400 points)
0 votes
2 answers 25 views
0 votes
1 answer 12 views
12 views asked by sara Guru (24,570 points)
+1 vote
1 answer 15 views
15 views asked by denis Sr Member (2,740 points)
0 votes
1 answer 7 views
...