Sponsored Content
Top Forums Shell Programming and Scripting how to change time hr:mm to mm:hr in perl Post 302382797 by lakshmikant on Friday 25th of December 2009 02:55:39 PM
Old 12-25-2009
how to change time hr:mm to mm:hr in perl

Hi

I want to match time hr:mm and change to mm:hr
please let me know how to do that in perl
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I change the time in Unix?

Hi there. This is probably a very stupid question, but... How do I change or set the time in UNIX? I am taking care of a Sun Ultra 5 running SunOS 5.7 and I can't figure out how to change the time. Help. (3 Replies)
Discussion started by: Tannim
3 Replies

2. UNIX for Dummies Questions & Answers

Time change not working...

Hi, I am pretty new to the Solaris world. Just installed the version 8 and found that the time is off. I am in the Central time zone. In the beginning, the date and time was off by a day. After changing the /etc/default/init, there is no avail. The date is now correct but the time is still 5 hours... (7 Replies)
Discussion started by: conflansun
7 Replies

3. UNIX Desktop Questions & Answers

Change time source?

I need to change the time on my SUN box, it is five minutes fast. (4 Replies)
Discussion started by: michelemcdonald
4 Replies

4. UNIX for Dummies Questions & Answers

How to change time as root?

Hi, Can someone tell me how to change time inside red hat linux machine as root? ThanX! (1 Reply)
Discussion started by: whatisthis
1 Replies

5. Linux

How To change time?

what command must i use to change time ? (4 Replies)
Discussion started by: Sirius
4 Replies

6. UNIX for Dummies Questions & Answers

Change the time in AIX

I have already updated the DST change but my system time is about 10 minutes off. How do i set the time in the AIX 5.3? Thanks Dave (1 Reply)
Discussion started by: rocker40
1 Replies

7. Solaris

change time

The time of our Solaris server now is slowly more 20 seconds. How can we change it ? (3 Replies)
Discussion started by: anhtt
3 Replies

8. Shell Programming and Scripting

Perl :How to print the o/p of a Perl script on console and redirecting same in log file @ same time.

How can i print the output of a perl script on a unix console and redirect the same in a log file under same directory simultaneously ? Like in Shell script, we use tee, is there anything in Perl or any other option ? (2 Replies)
Discussion started by: butterfly20
2 Replies

9. AIX

AIX TIME CHANGE

Hi Guys , I see a weird problem with one of the AIX Machine, The time is changing randomly on the server. The seconds part of the time is what is the problem which is jumping on a uneven order and coming back to the original state after some time and again the same.. I have collected the time... (8 Replies)
Discussion started by: kkeng808
8 Replies

10. Debian

change time

Hi all, I want change the time settings from EST to IST by using command line in Debian os. but it is not taken. Can any body show me the how to change the time settings by using command line. Thanks, (1 Reply)
Discussion started by: mastansaheb
1 Replies
Warp(3pm)						User Contributed Perl Documentation						 Warp(3pm)

NAME
Time::Warp - control over the flow of time SYNOPSIS
use Time::Warp qw(scale to time); to(time + 5); # 5 seconds ahead scale(2); # make time flow twice normal DESCRIPTION
Our external experience unfolds in 3 1/2 dimensions (time has a dimensionality of 1/2). The Time::Warp module offers developers control over the measurement of time. API
o to($desired_time) The theory of relativity asserts that all physical laws are enforced relative to the observer. Since the starting point of time is arbitrary, it is permissable to change it. This has the effect of making it appear as if time is moving forwards or backward instanteously. For example, on some types of operating systems time starts at Wed Dec 31 19:00:00 1969 (this will likely change as we approach 2030 and with the acceptance of 64-bit CPUs). to(time + 60*60); # 1 hour ahead o scale($factor) Changes the speed at which time is progressing. scale(scale * 2); # double the speed of time Note that it is not possible to stop time or cause it to reverse since this is forbidden by the second law of thermodynamics. ALSO SEE
Time::HiRes and Event. SUPPORT
Please direct your insights or complaints to perl-loop@perl.org. DISCLAIMER
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THIS IS NOT A TIME MACHINE. THIS MODULE CANNOT BE USED TO VIOLATE THE SECOND LAW OF THERMODYNAMICS. COPYRIGHT
Copyright X 1999, 2000 Joshua Nathaniel Pritikin. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2000-08-02 Warp(3pm)
All times are GMT -4. The time now is 01:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy