Automatic Date Conversion When Creating A Form From14/02/2000 To 14 February 2000

First create a hidden field called "Date" make it a text field and computed when composed.Put the following code in the field: @Explode(@Created) Secondly create another field this time visible called "FullDate" make it a text field and computed when composed.Put the following code in the field: @Left(Date;"/") + " " + @If(@Middle(Date;"/";"/")="01";"January";@Middle(Date;"/";"/")="02";"February"; @Middle(Date;"/";"/")="03";"March";...

@Middle(Date;"/";"/")="04";"April"; @Middle(Date;"/";"/")="05";"May"; @Middle(Date;"/";"/")="06";"June"; @Middle(Date;"/";"/")="07";"July"; @Middle(Date;"/";"/")="08";"August"; @Middle(Date;"/";"/")="09";"September";@Middle(Date;"/";"/")="10";"October"; @Middle(Date;"/";"/")="11";"November";@Middle(Date;"/";"/")="12";"December";" ") + " " + @Right(Date;4)

This was first published in November 2000

Dig deeper on Domino Resources - Part 2

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close