Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Re: Cursor
Divers
Thread ID:
00455330
Message ID:
00455688
Vues:
39
>>>Ok, never mind. I wrote this function (may be it's not a best code, but it works):
>>>*!******************************************************************************
>>>*  Description.......: ConvertDate -  for Galley Report
>>>*  Calling Samples...: ConvertDate(DATE)
>>>*  Parameter list....:
>>>*  Created by........: Nadya Nosonovsky 12/20/00 11:40:10 AM
>>>*  Modified by.......:
>>>********************************************************************
>>>lparameters tdDate
>>>local lcDate, lnMonth, lnYear, lnDay
>>>if !empty(tdDate)
>>>	lnMonth=month(tdDate)
>>>	lnDay=day(tdDate)
>>>	lnYear=year(tdDate)
>>>	lcDate=transform(lnMonth)+'/'+transform(lnDay)+'/'+right(transform(lnYear),2)
>>>else
>>>	lcDate=''
>>>endif
>>>return lcDate
>>>
>>Wouldn't you need the 'T" ot 'trim' function to loose leading spaces (what was that guy, @T or something) for tansform. Maybe I'm a couple of versions behind?
>
>Transform does it automatically.
Well that's something i didn't know - thanxs
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform