De la siguiente forma:

*iso move Campo_fecha   camp_numero

Joan Llobet

Content-Type: multipart/alternative;
        boundary="----_=_NextPart_001_01C40061.986F3870"


------_=_NextPart_001_01C40061.986F3870
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
        charset="iso-8859-1"

En vista de que antes ha ido bien la cosa con lo del movel de =
num=E9rico a
alfanum=E9rico, vuelvo a probar suerte:

La forma m=E1s sencilla que he encontrado de pasar un campo de fecha a =
uno
num=E9rico (8 0) con formato *ISO es la siguiente (en el ejemplo paso =
la fecha
del sistema, pero la idea ser=EDa aplicarlo tambi=E9n a variables tipo =
fecha):

Fecha_num =3D %int(%char(%date: *iso0))=20

=BFAlguna forma m=E1s abreviada de hacer lo mismo?



Saludos.

Fernando P=E9rez.

Cer=E1mica Saloni. Dpto. Sistemas


 <<Fernando P=E9rez.vcf>>=20

------_=_NextPart_001_01C40061.986F3870
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
        charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>De Fecha a num=E9rico con formato *ISO</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">En vista de que antes ha ido bien la =
cosa con lo del movel de num=E9rico a alfanum=E9rico, vuelvo a probar =
suerte:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">La forma m=E1s sencilla que he =
encontrado de pasar un campo de fecha a uno num=E9rico (8 0) con =
formato *ISO es la siguiente (en el ejemplo paso la fecha del sistema, =
pero la idea ser=EDa aplicarlo tambi=E9n a variables tipo =
fecha):</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Fecha_num =3D %int(%char(%date: =
*iso0)) </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">=BFAlguna forma m=E1s abreviada de =
hacer lo mismo?</FONT>
</P>
<BR>
<BR>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Saludos.</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" FACE=3D"Times New Roman">Fernando =
P=E9rez.</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" FACE=3D"Times New Roman">Cer=E1mica Saloni. =
Dpto. Sistemas</FONT>
</P>
<BR>

<P><FONT FACE=3D"Arial" SIZE=3D2 COLOR=3D"#000000"> &lt;&lt;Fernando =
P=E9rez.vcf&gt;&gt; </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C40061.986F3870--

Responder a