Chinaunix首页 | 论坛 | 博客
  • 博客访问: 73894
  • 博文数量: 26
  • 博客积分: 1070
  • 博客等级: 少尉
  • 技术积分: 285
  • 用 户 组: 普通用户
  • 注册时间: 2009-04-27 09:32
文章分类

全部博文(26)

文章存档

2011年(1)

2010年(3)

2009年(22)

我的朋友

分类: LINUX

2009-10-13 18:30:25


 
8.38 `DATE_AND_TIME' -- Date and time subroutine
================================================

_Description_:
`DATE_AND_TIME(DATE, TIME, ZONE, VALUES)' gets the corresponding
date and time information from the real-time system clock. DATE is
`INTENT(OUT)' and has form ccyymmdd. TIME is `INTENT(OUT)' and
has form hhmmss.sss. ZONE is `INTENT(OUT)' and has form (+-)hhmm,
representing the difference with respect to Coordinated Universal
Time (UTC). Unavailable time and date parameters return blanks.

VALUES is `INTENT(OUT)' and provides the following:

`VALUE(1)': The year
`VALUE(2)': The month
`VALUE(3)': The day of the month
`VAlUE(4)': Time difference with UTC in minutes
`VALUE(5)': The hour of the day
`VALUE(6)': The minutes of the hour
`VALUE(7)': The seconds of the minute
`VALUE(8)': The milliseconds of the second

_Option_:
f95, gnu

_Class_:
subroutine

_Syntax_:
`CALL DATE_AND_TIME([DATE, TIME, ZONE, VALUES])'

_Arguments_:
DATE (Optional) The type shall be `CHARACTER(8)' or larger.
TIME (Optional) The type shall be `CHARACTER(10)' or
larger.
ZONE (Optional) The type shall be `CHARACTER(5)' or larger.
VALUES (Optional) The type shall be `INTEGER(8)'.

_Return value_:
阅读(500) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~