baseportal
Start

baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 
 Selected message: To the list 
    Message from TheOneRing on 10/24 2003, 19:30 +00:00
    EMail: theonering@thegateroom.com

    Re: ***POST A DATE


      I use this code within <perl>:

      <perl>
      mod "Description==*", ["LastUpdate", now], "/xagc_lj/budget";
      </perl>


      My database has a date field named "LastUpdate". The "now" is baseportal's time stamp. Use the word "now" to represent the current date/time.

      I update every entry at the same time using Description==*. You will have to search a bit differently if you want each entry to be updated separately. Perhaps something like:

         mod "FirstName==Mike", ["LastUpdate", now], "/youraccount/yourtemplate";

    Your reply:

    Name: EMail: WWW:
    Subject:
    Text:
    Timezone:

    Post a new message


 All messages from this thread: To the list 
    Message from mike on 10/20 2003, 05:08 +00:00
    EMail: www.amboy.mep@eudoramail.com

    ***POST A DATE


      Good day master,

      How could I post the date in my database that generates automatically assuming I have "DATE ENTERED" field in my database when a user inputs his name in a "NAME" field? so i can trace the exact date he/she input his/her name.

      thank you.AND MORE POWER

      MIKE
     Post a reply

    Message from TheOneRing on 10/24 2003, 19:30 +00:00
    EMail: theonering@thegateroom.com

    Re: ***POST A DATE


      I use this code within <perl>:

      <perl>
      mod "Description==*", ["LastUpdate", now], "/xagc_lj/budget";
      </perl>


      My database has a date field named "LastUpdate". The "now" is baseportal's time stamp. Use the word "now" to represent the current date/time.

      I update every entry at the same time using Description==*. You will have to search a bit differently if you want each entry to be updated separately. Perhaps something like:

         mod "FirstName==Mike", ["LastUpdate", now], "/youraccount/yourtemplate";

     Post a reply


    Message from mike on 10/26 2003, 09:46 +00:00

    Re: ***POST A DATE


      thanks oneRing, but still did not get what you mean, can you please put it in details. Could you send me a code written in html. I'm a novice..
     Post a reply

    Message from TheOneRing on 10/26 2003, 16:14 +00:00
    EMail: theonering@thegateroom.com

    Re: ***POST A DATE


      Start by looking at the "Date and Time" section of the baseportal documentation. It'll explain how to format and search dates.
      http://baseportal.com/doku/index.html#a36

      If this still doesn't help, send me the code that you have for your template/database and maybe I can help.

      TheOneRing
     Post a reply
     
 Messages from 3150 to 3300: To the input form 
<< Newest messages | < Newer messages | To the input form | Older messages > | Oldest messages >>


Back to the homepage

© baseportal.com. All rights reserved. Terms of use



baseportal.com