Display dd/mm/yyyy in a non persitent field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EricFranken
    New Member
    • Jun 2018
    • 1

    Display dd/mm/yyyy in a non persitent field

    I have a field type date(dd/mm/yyyy) and I want it to be shown in a different field. The outcome now is Mon Jun 04 00:00:00 CEST 2018 and I want it to be dd//mm/yyyy.

    The code I use now is value= str(vdate)

    The out is a non persistent field

    Can't get it right with verything I tried.

    Can someone help me?
  • dwblas
    Recognized Expert Contributor
    • May 2008
    • 626

    #2
    Split the date, extract the month, day, and year; convert "Jun" to 6 and then print it however you want.

    Comment

    Working...