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 Jan 2, 2014 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 Jan 2, 2014 by rajesh Guru (39,140 points)

Related questions

0 votes
1 answer 16 views
16 views asked May 6, 2014 by felin Advisor (8,400 points)
0 votes
2 answers 24 views
24 views asked Jan 29, 2014 by john Guru (27,140 points)
0 votes
1 answer 11 views
11 views asked Jan 2, 2014 by sara Guru (24,570 points)
+1 vote
1 answer 14 views
14 views asked Aug 31, 2011 by denis Sr Member (2,740 points)
0 votes
1 answer 6 views
6 views asked May 5, 2014 by omari Sr Member (3,860 points)
...