Get Paid to Participate - up to $1 per post!     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, 01:21 PM
HD Amateur
 
Join Date: May 2010
Location: Los Angeles, Costa Rica
Posts: 88
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 - With WebHost.pro since 2001.
WebHost.pro - Web Hosting Dedicated Servers VPS Add your host here
 
 
 


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

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 Premium CloudFlare Multi PHP
HostMantis on: Facebook Twitter
 
 
 


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

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 Premium CloudFlare Multi PHP
HostMantis on: Facebook Twitter
 
 
 


Old
  Post #4 (permalink)   05-24-2010, 09:26 PM
HD Amateur
 
Join Date: May 2010
Location: Los Angeles, Costa Rica
Posts: 88
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 - With WebHost.pro since 2001.
WebHost.pro - Web Hosting Dedicated Servers VPS Add your host here
 
 
 


Old
  Post #5 (permalink)   05-25-2010, 04:14 AM
HD Addict
 
Join Date: May 2008
Posts: 237
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: