Jump to content


Photo

Change the time format

data wizard

  • Please log in to reply
2 replies to this topic

#1 weizixu

weizixu

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 23 August 2023 - 08:31 PM

Hi, 

 

How can I change time format "10/Dec/2014" to"10/12/2014"? 

I tried to use data wizard "datevalue" function, but to read it back to "dd/mm/yy" format. Thanks! 


  • Paulawrilm, Samuelded, RandyLof and 25 others like this

#2 Ana Henry

Ana Henry

    Advanced Member

  • Val_Members
  • PipPipPip
  • 232 posts

Posted 23 August 2023 - 09:18 PM

Hello,

You can accomplish this with a few steps within a DataWizard  (attached image).  I have also attached a zip file with a phoenix project (v8.4) and object settings in case you are using a Phoenix version <8.4.  This datawizard will work as long as the month is spelled out.  If you have a mixture of dates for example 01/Feb/2003 and 01/02/2003, it will not work for the later because it assumes that the numerical month is the first entry.

 

Hope this helps,

Ana Henry

Attached Thumbnails

  • dates.PNG

Attached Files


Edited by Ana Henry, 23 August 2023 - 09:24 PM.


#3 weizixu

weizixu

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 23 August 2023 - 09:31 PM

Hi Ana, 

 

It works! Thanks so much for the help! 







Also tagged with one or more of these keywords: data wizard

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users