Skip to main content

Formula to display how many days since (start date)

  • Jul 10, 2018 7:53 PM UTC
  • 6 replies
  • 105 views

Hi everyone, I hope you’re all well. Looking for a little help. It seems so easy i can’t believe i haven’t figured it out yet. Perhaps you can try.

Request:
All i need is to count days passed/elapsed since a start date - but it needs to displays DAYS ONLY.

I tried:
DATETIME_DIFF({Order Date}, TODAY(), ‘days’)
Problem here is that it displayed a “-” negative value. example -5, -15, -33

This topic has been closed for replies.

6 replies

Forum|alt.badge.img+17

Use DATETIME_DIFF that allows to specify the unit.


  • Participating Frequently
  • Jul 10, 2018 8:01 PM UTC

Try: DATETIME_DIFF(TODAY(),{Order Date},‘days’)


  • Author
  • New Participant
  • Jul 10, 2018 8:03 PM UTC

Try: DATETIME_DIFF(TODAY(),{Order Date},‘days’)


this worked perfectly. so simple.
problem however, it displays the negative value. how can I make it not display in negative numbers :slightly_smiling_face:


  • Author
  • New Participant
  • Jul 10, 2018 8:03 PM UTC

Use DATETIME_DIFF that allows to specify the unit.


works but, problem, it displays the negative value. how can I make it not display in negative numbers :slightly_smiling_face:


  • Participating Frequently
  • Jul 10, 2018 8:04 PM UTC

this worked perfectly. so simple.
problem however, it displays the negative value. how can I make it not display in negative numbers :slightly_smiling_face:


you need to switch the order so today() is before {order date} and it will show positive so long as date is in the past


  • Author
  • New Participant
  • Jul 10, 2018 8:06 PM UTC

you need to switch the order so today() is before {order date} and it will show positive so long as date is in the past


thanks tyler and thanks elias - you guys replied in 2 minutes with working solutions.

you two are rock stars.