Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Current date and time as the default value 07 Dec 2013 22:29 #11773

  • vivek
  • vivek's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 123
  • Thank you received: 2
Hi,
How to specify a default value for datetime field in jcook..

My requirement is to specify a default value of current date and time..

Please Log in or Create an account to join the conversation.

Current date and time as the default value 13 Jun 2016 10:25 #14039

Hi,
I am looking for this answer too. In other words...

How can we set the default date to be NOW() in the JCook interface?

(I can do it via Fork code - but is there a way in the JCooK GUI Table > Date > Properties ? )

Thanks
Just call me Chris :)

Please Log in or Create an account to join the conversation.

Current date and time as the default value 13 Jun 2016 16:10 #14057

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
In the field's properties, you can enter a default date value.
I should put a calendar. At the moment you need to enter in the SQL format.

If you want the current time, just instance the Creation Date Wizard, and link it to your field.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.387 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started