⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 m24 - reading date and time values - 29 of 31.mht

📁 sas的考试样题
💻 MHT
📖 第 1 页 / 共 5 页
字号:
From: <Saved by Microsoft Internet Explorer 5>
Subject: 
Date: Tue, 9 Mar 2004 11:47:09 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
	boundary="----=_NextPart_000_014F_01C405CC.40EC6D00";
	type="text/html"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

This is a multi-part message in MIME format.

------=_NextPart_000_014F_01C405CC.40EC6D00
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.sas.com/apps/OLTRN/59080/m24/m24_29.htm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><!-- InstanceBegin template=3D"/Templates/summary.dwt" =
codeOutsideHTMLIsLocked=3D"false" -->
<SCRIPT language=3DJavaScript>=0A=
<!--=0A=
=0A=
function SymError()=0A=
{=0A=
  return true;=0A=
}=0A=
=0A=
window.onerror =3D SymError;=0A=
=0A=
//-->=0A=
</SCRIPT>

<SCRIPT language=3DJavaScript=20
src=3D"http://www.sas.com/apps/OLTRN/59080/tut.js">=0A=
</SCRIPT>

<SCRIPT language=3DJavaScript>=0A=
 setPageTitle();=0A=
 setCookie();=0A=
 fixedTitle=3D"Lesson Summary";=0A=
 =0A=
// Drop down menu link- =A9 Dynamic Drive (www.dynamicdrive.com)=0A=
// For full source code and 100's more DHTML scripts, visit =
http://www.dynamicdrive.com=0A=
// Credit MUST stay intact for use -->=0A=
=0A=
</SCRIPT>
<!-- InstanceBeginEditable name=3D"extrascript" -->
<SCRIPT language=3DJavaScript>=0A=
</SCRIPT>
<!-- InstanceEndEditable --><LINK=20
href=3D"http://www.sas.com/apps/OLTRN/59080/tut.css" rel=3Dstylesheet>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#fffff0 leftMargin=3D0 topMargin=3D0 rightMargin=3D0 =
marginwidth=3D"0"=20
marginheight=3D"0">
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%"=20
background=3Dhttp://www.sas.com/apps/elearning/images/en/navimages/banner=
.gif=20
border=3D0>
  <TBODY>
  <TR>
    <TD noWrap colSpan=3D2 height=3D49><FONT face=3D"Arial, Helvetica, =
sans-serif"=20
      color=3D#a6caf0 size=3D-1>&nbsp;&nbsp;
      <SCRIPT>setCourseTitle()</SCRIPT>
       </FONT><BR><STRONG><FONT face=3D"Arial, Helvetica, sans-serif"=20
      color=3D#ffffff size=3D-1>&nbsp;&nbsp;
      <SCRIPT>setLessonTitle()</SCRIPT>
       </FONT></STRONG>&nbsp;<IMG height=3D8 alt=3D""=20
      =
src=3D"http://www.sas.com/apps/elearning/images/en/navimages/bullet.gif" =

      width=3D8>&nbsp;<FONT color=3D#ffffff size=3D2><STRONG>
      <SCRIPT>document.write(myPage+" of "+eval(myModule))</SCRIPT>
       </STRONG></FONT>&nbsp;&nbsp;</TD>
    <TD vAlign=3Dbottom width=3D357 rowSpan=3D3><IMG height=3D72 =
alt=3D""=20
      =
src=3D"http://www.sas.com/apps/elearning/images/en/navimages/logo_top.gif=
"=20
      width=3D357 align=3Dbottom></TD></TR>
  <TR>
    <TD vAlign=3Dbottom noWrap colSpan=3D2><IMG height=3D19 alt=3D""=20
      =
src=3D"http://www.sas.com/apps/elearning/images/en/navimages/tableft.gif"=
=20
      width=3D9><A=20
      onmouseover=3D"rOver('back');window.status=3D'Display the previous =
page.';return true"=20
      accessKey=3Db onmouseout=3D"rOut('back');window.status=3D'';return =
true"=20
      href=3D"javascript:%20prevPage()"><IMG height=3D19 alt=3Dback=20
      =
src=3D"http://www.sas.com/apps/elearning/images/en/navimages/back.gif"=20
      width=3D30 border=3D0 name=3Dback></A><A=20
      onmouseover=3D"rOver('next');window.status=3D'Display the next =
page.';return true"=20
      accessKey=3Dn onmouseout=3D"rOut('next');window.status=3D'';return =
true"=20
      href=3D"javascript:%20nextPage()"><IMG height=3D19 alt=3Dnext=20
      =
src=3D"http://www.sas.com/apps/elearning/images/en/navimages/next.gif"=20
      width=3D30 border=3D0 name=3Dnext></A>
      <SCRIPT>writeLessonMenu()</SCRIPT>
      <A=20
      onmouseover=3D"rOver('path');window.status=3D'Display the Learning =
Path.';return true"=20
      accessKey=3Dp onmouseout=3D"rOut('path');window.status=3D'';return =
true"=20
      href=3D"http://www.sas.com/apps/OLTRN/59080/paths.htm"><IMG =
height=3D19=20
      alt=3D"Learning Path"=20
      =
src=3D"http://www.sas.com/apps/elearning/images/en/navimages/path.gif"=20
      width=3D48 border=3D0 name=3Dpath></A>
      <SCRIPT>writeHelpMenu()</SCRIPT>
      <IMG height=3D19 alt=3D""=20
      =
src=3D"http://www.sas.com/apps/elearning/images/en/navimages/tabright.gif=
"=20
      width=3D28></TD></TR>
  <TR>
    <TD vAlign=3Dbottom colSpan=3D2 height=3D3><IMG height=3D3 alt=3D""=20
      =
src=3D"http://www.sas.com/apps/elearning/images/en/navimages/border.gif" =

      width=3D"100%"></TD></TR>
  <TR vAlign=3Dtop bgColor=3D#fffff0>
    <TD noWrap>&nbsp;&nbsp;&nbsp;</TD>
    <TD vAlign=3Dcenter><BR><IMG height=3D1 alt=3D""=20
      =
src=3D"http://www.sas.com/apps/elearning/images/en/navimages/cleardot.gif=
"=20
      width=3D411><BR><FONT face=3D"Arial, Helvetica, sans-serif" =
color=3D#003399=20
      size=3D3><STRONG>
      <SCRIPT>document.write(fixedTitle)</SCRIPT>
      </STRONG></FONT></TD>
    <TD><IMG height=3D64 alt=3D""=20
      =
src=3D"http://www.sas.com/apps/elearning/images/en/navimages/arch.gif"=20
      width=3D357 align=3Dtop></TD></TR></TBODY></TABLE><BR>
<CENTER>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"85%" align=3Dcenter =
border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dleft>
      <P>This page contains </P>
      <UL><!-- InstanceBeginEditable name=3D"links" -->
        <LI><A onmouseover=3D"window.status=3D'Go to the text summary =
section.'; "=20
        onmouseout=3D"window.status=3D''"=20
        =
href=3D"http://www.sas.com/apps/OLTRN/59080/m24/m24_29.htm#Text">a text=20
        summary of the material taught in the lesson</A>=20
        <LI><A onmouseover=3D"window.status=3D'Go to the syntax =
section.'; "=20
        onmouseout=3D"window.status=3D''"=20
        =
href=3D"http://www.sas.com/apps/OLTRN/59080/m24/m24_29.htm#Syntax">syntax=
=20
        for&nbsp;statements and options</A>=20
        <LI><A onmouseover=3D"window.status=3D'Go to the sample program =
section.'; "=20
        onmouseout=3D"window.status=3D''"=20
        =
href=3D"http://www.sas.com/apps/OLTRN/59080/m24/m24_29.htm#Sample">a&nbsp=
;sample=20
        program</A>=20
        <LI><A=20
        onmouseover=3D"window.status=3D'Go to the points to remember =
section.'; "=20
        onmouseout=3D"window.status=3D''"=20
        =
href=3D"http://www.sas.com/apps/OLTRN/59080/m24/m24_29.htm#Points">points=
=20
        to remember</A>. <!-- InstanceEndEditable --></LI></UL>
      <P>
      <HR>
    </TD></TR></TBODY></TABLE>
<P>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"85%" align=3Dcenter =
border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dleft>
      <H2><STRONG><A name=3DText>Text Summary</A></STRONG> </H2>
      <P><EM>To go to the page where a task, programming feature, or=20
      concept&nbsp;was presented, select a=20
link.</EM></P></TD></TR></TBODY></TABLE><BR><!-- InstanceBeginEditable =
name=3D"textsummary" -->
<P align=3Dcenter>
<CENTER>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"85%" border=3D0>
  <TBODY>
  <TR>
    <TD><STRONG>How SAS Stores Date and Time Values</STRONG><BR>SAS =
stores=20
      date values as numeric <A=20
      onmouseover=3D"window.status=3D'Display information on SAS date =
values.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      href=3D"http://www.sas.com/apps/OLTRN/59080/m24/m24_2.htm">SAS =
date=20
      values</A>, which are the number of days from January 1, 1960. <A=20
      onmouseover=3D"window.status=3D'Display information on How SAS =
stores time values.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      href=3D"http://www.sas.com/apps/OLTRN/59080/m24/m24_4.htm">SAS =
time=20
      values</A> are the number of seconds since=20
midnight.</TD></TR></TBODY></TABLE></CENTER>
<P align=3Dcenter>
<CENTER>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"85%" border=3D0>
  <TBODY>
  <TR>
    <TD><STRONG>Reading Dates and Times with Informats</STRONG><BR>Use =
SAS <A=20
      onmouseover=3D"window.status=3D'Display information on SAS date =
and time informats.';"=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      =
href=3D"http://www.sas.com/apps/OLTRN/59080/m24/m24_7.htm">informats</A> =
to=20
      read date and time expressions and convert them to SAS date and =
time=20
      values.=20
      <UL>
        <LI><A=20
        onmouseover=3D"window.status=3D'Display information on the =
MMDDYYw. informat.';"=20
        onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
        =
href=3D"http://www.sas.com/apps/OLTRN/59080/m24/m24_8.htm">MMDDYY<EM>w</E=
M>.</A>=20
        reads dates such as 053090, 05/30/90, or 05 30 1990.=20
        <LI><A=20
        onmouseover=3D"window.status=3D'Display information ono the =
DATEw. informat.';"=20
        onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
        =
href=3D"http://www.sas.com/apps/OLTRN/59080/m24/m24_10.htm">DATE<EM>w</EM=
>.</A>=20
        reads dates such as 30May1990, 30May90, or 30-May-1990.=20
        <LI><A=20
        onmouseover=3D"window.status=3D'Display information on the =
TIMEw. informat.';"=20
        onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
        =
href=3D"http://www.sas.com/apps/OLTRN/59080/m24/m24_11.htm">TIME<EM>w</EM=
>.</A>=20
        reads times such as 17:00, 17:00:01.34, or 2:34.=20
        <LI><A=20
        onmouseover=3D"window.status=3D'Display information on the =
DATETIMEw. informat.';"=20
        onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
        =
href=3D"http://www.sas.com/apps/OLTRN/59080/m24/m24_14.htm">DATETIME<EM>w=
</EM>.</A>=20
        reads dates and times such as 30May1990:10:03:17.2, 30May90 =
10:03:17.2,=20
        or 30May1990/10:03. </LI></UL>Two-digit year values require =
special=20
      consideration. When a two-digit year value is read, SAS defaults =
to a year=20
      within a 100-year span that is determined by the <A=20
      onmouseover=3D"window.status=3D'Display information on resetting =
the YEARCUTOFF option.';"=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      =

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -