Add to Favorites     Get Paid to Participate     Twitter     Facebook     Google+
Hosting Discussion
 

Hosting Discussion > Web Hosting Forums > Website Development & Design > Anyone know the perl path to DATE
forgot password?


Reply


Old
  Post #1 (permalink)   05-24-2010, 02:21 PM
HD Newbie
 
Join Date: May 2010
Location: Los Angeles, Costa Rica
Posts: 17
Send a message via ICQ to dwhs Send a message via Skype™ to dwhs

Status: dwhs is offline
What is the path to date?

I can't remember and can't find it anywhere with google or with the search here.
__________________
Charles
DWHS Website Hosting
Blog
Marketing Spot
 
 
 


Old
  Post #2 (permalink)   05-24-2010, 02:33 PM
HD Guru
 
HostMantis's Avatar
 
Join Date: Feb 2010
Posts: 524

Status: HostMantis is offline
Do you mean how to display the date/time with Pearl?

If so:

my $now = localtime time;
print "It is now $now\n";

If not, then I'm not quite sure what you are asking for.
__________________
HostMantis Affordable Web Hosting
Shared • Reseller • 24/7/365 Support • Instant Activation
CloudLinux • Softaculous • Fantastico • FFMpeg • PHP 5.3
HostMantis on: FacebookTwitter
 
 
 


Old
  Post #3 (permalink)   05-24-2010, 03:07 PM
HD Guru
 
HostMantis's Avatar
 
Join Date: Feb 2010
Posts: 524

Status: HostMantis is offline
Quote:
Originally Posted by Plexihost View Post
Do you mean how to display the date/time with Pearl?

If so:

my $now = localtime time;
print "It is now $now\n";

If not, then I'm not quite sure what you are asking for.
Oops, Perl, not Pearl.
__________________
HostMantis Affordable Web Hosting
Shared • Reseller • 24/7/365 Support • Instant Activation
CloudLinux • Softaculous • Fantastico • FFMpeg • PHP 5.3
HostMantis on: FacebookTwitter
 
 
 


Old
  Post #4 (permalink)   05-24-2010, 10:26 PM
HD Newbie
 
Join Date: May 2010
Location: Los Angeles, Costa Rica
Posts: 17
Send a message via ICQ to dwhs Send a message via Skype™ to dwhs

Status: dwhs is offline
Thanks for the reply.

which date

worked perfectly for finding it, the path is:

/bin/date
__________________
Charles
DWHS Website Hosting
Blog
Marketing Spot
 
 
 


Old
  Post #5 (permalink)   05-25-2010, 05:14 AM
HD Addict
 
Join Date: May 2008
Posts: 238
Send a message via MSN to supportfacility

Status: supportfacility is offline
Yes using "which" command we can check the path of commands.
e.g.
root@server [~]# which top
/usr/bin/top
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: