Date and time functions

I want to ask with regards to use of Date and time function used to create advance triggers.
Q1. Whether i need to modify my date on daily basis…?
Q2 Is there is any function that can be used and will trigger (activate) in any future dates any time.
Q3 Want to ask meaning of Timestamp() < datestring (…)

  1. No.
  2. yes, available.
  3. Timestamp() - Current time (IST) representation in ISO 8601 format
    DateString() - String representation of time in ‘yyyy-mm-dd hh:mm:ss’ or ‘yyyy-mm-dd’ format

Sample conditions and descriptions for the function is given here.

Thanks Arockiya
Can you please write a function for below formula so that every day i need not punch it.

For any stock (let say sbi):- Trigger any future date if (Total buy quantity/total sell quantity)>2 any time any day…>?