GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
STIME(1) User Contributed Perl Documentation STIME(1)

stime - print current time information to standard out

  stime

  stime UKIRT

  stime -epoch 837459706 JCMT

  stime -h

This program prints current local time, UTC, Julian date, modified Julian date, current equinox and year day to standard output. Additionally, local sidereal time for the specified telescope is also displayed.

The optional argument can be used to specify the details for a particular telescope. This affects the local sidereal time calculation. The default is for the LST of Mauna Kea to be listed (specifically the James Clerk Maxwell Telescope). The sidereal time does not reflect the longitude of the computer used to run the command.

The format of this string is identical to that required by "palObs" routine in the "Astro::PAL" package.

The following command line options are supported:
-epoch
Override the time for which the LST will be calculated. By default will use the current time/date. This epoch should be supplied in seconds in the Unix epoch (essentially the argument to the perl localtime/gmtime functions).
-help
Simple help message.
-man
This manual page.

Example output of this program is:

 At local date and time         Fri Mar 24 14:50:31 2000
 The UT date and time was:      Sat Mar 25 00:50:31 2000
 Julian date:                   2451628.54
 Modified Julian date:          51628.04
 Equinox for today is           2000.23
 Local Day number (UT):         84 (85)
 For telescope JCMT
 The local sidereal time was    2 39 46.16

Astro::PAL

$Id$

Copyright (C) 1996-2000,2004 Particle Physics and Astronomy Research Council. All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place,Suite 330, Boston, MA 02111-1307, USA

Tim Jenness, Remo Tilanus
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.