# Help with date in a group

**URL:** <https://forum.bubble.io/t/help-with-date-in-a-group/61148>\
**Category:** Database\
**Created:** [July 8, 2019, 10:12am UTC](https://forum.bubble.io/t/help-with-date-in-a-group/61148 "2019-07-08T10:12:35Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulogustavopeixoto](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/paulogustavopeixoto/32/253627_2.png) [@paulogustavopeixoto](https://forum.bubble.io/u/paulogustavopeixoto)\
**Post date:** [July 8, 2019, 10:12am UTC](https://forum.bubble.io/t/help-with-date-in-a-group/61148/1 "2019-07-08T10:12:35Z")

</div>

Hello guys,

Im having trouble because I need to do the following. I have a text which I only want it to be visible only if parent groups thing creation date is bigger or equal to current date or smaller than current date +7 days.

It is probably easy to do but I cant seem to be able to get it right.

Thanks

---

<div class="post-metadata">

**Author:** ![duke.severn](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/duke.severn/32/38191_2.png) [@duke.severn](https://forum.bubble.io/u/duke.severn)\
**Post date:** [July 8, 2019, 10:29am UTC](https://forum.bubble.io/t/help-with-date-in-a-group/61148/2 "2019-07-08T10:29:58Z")

</div>

Judging by your post I think you’ve misunderstood \< and \> on dates.

If you’re saying creation date \> current date it means the thing will have been created in the future which is impossible.

The second condition would be current date + 7 days, also a future conditional if the thing was created within the past seven days. Write out in plain English what you’re trying to do and I can help you with your conditionals.

---

<div class="post-metadata">

**Author:** ![paulogustavopeixoto](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/paulogustavopeixoto/32/253627_2.png) [@paulogustavopeixoto](https://forum.bubble.io/u/paulogustavopeixoto)\
**Post date:** [July 8, 2019, 10:33am UTC](https://forum.bubble.io/t/help-with-date-in-a-group/61148/3 "2019-07-08T10:33:26Z")

</div>

I think you are spot on Duke, I expressed myself wrong. Basically what I want is to show the text in a range. Creation date creation date +7 days

---

<div class="post-metadata">

**Author:** ![paulogustavopeixoto](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/paulogustavopeixoto/32/253627_2.png) [@paulogustavopeixoto](https://forum.bubble.io/u/paulogustavopeixoto)\
**Post date:** [July 8, 2019, 10:34am UTC](https://forum.bubble.io/t/help-with-date-in-a-group/61148/4 "2019-07-08T10:34:16Z")

</div>

@duke.severn essentially if the thing is less than 7 days old the text is visible

---

<div class="post-metadata">

**Author:** ![eazycode](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/eazycode/32/198690_2.png) [@eazycode](https://forum.bubble.io/u/eazycode)\
**Post date:** [July 8, 2019, 10:35am UTC](https://forum.bubble.io/t/help-with-date-in-a-group/61148/5 "2019-07-08T10:35:15Z")

</div>

Hey @paulogustavopeixoto

You can try to make a filter

![34](https://us1.discourse-cdn.com/bubble/original/3X/d/4/d4d415b7d04593fbef3d26e1649e232c082ca5c1.png)

Hope it helps

Regards EzCode Team !

---

<div class="post-metadata">

**Author:** ![paulogustavopeixoto](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/paulogustavopeixoto/32/253627_2.png) [@paulogustavopeixoto](https://forum.bubble.io/u/paulogustavopeixoto)\
**Post date:** [July 8, 2019, 10:39am UTC](https://forum.bubble.io/t/help-with-date-in-a-group/61148/6 "2019-07-08T10:39:13Z")

</div>

that wont do because in my case this is a repeating group showing a list of things. And I dont want to filter them. The text is only to state if this is a NEW listing or old one. That is why I want to apply that condition.

---

<div class="post-metadata">

**Author:** ![duke.severn](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/duke.severn/32/38191_2.png) [@duke.severn](https://forum.bubble.io/u/duke.severn)\
**Post date:** [July 8, 2019, 10:41am UTC](https://forum.bubble.io/t/help-with-date-in-a-group/61148/7 "2019-07-08T10:41:02Z")

</div>

@eazycode solution is interesting though I have no idea how they plan on tying that to visibility conditionals. This is how I would do it:

![Screenshot%202019-07-08%2005%3A44%3A28](https://us1.discourse-cdn.com/bubble/original/3X/f/6/f668cfe0f8b39227474dc6bcc0635e8213f1ea99.png)

You can do a substraction to find how old it is then set up the conditional. I put in hours in case you want more precision, you might want to use less or equal to, but you get the idea…

---

<div class="post-metadata">

**Author:** ![eazycode](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/eazycode/32/198690_2.png) [@eazycode](https://forum.bubble.io/u/eazycode)\
**Post date:** [July 8, 2019, 10:43am UTC](https://forum.bubble.io/t/help-with-date-in-a-group/61148/8 "2019-07-08T10:43:54Z")

</div>

Yep @duke.severn, great idea !

---

<div class="post-metadata">

**Author:** ![paulogustavopeixoto](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/paulogustavopeixoto/32/253627_2.png) [@paulogustavopeixoto](https://forum.bubble.io/u/paulogustavopeixoto)\
**Post date:** [July 8, 2019, 10:44am UTC](https://forum.bubble.io/t/help-with-date-in-a-group/61148/9 "2019-07-08T10:44:46Z")

</div>

So essentially your conditional states that if the listing is less than 7 days old than it visible correct?

---

<div class="post-metadata">

**Author:** ![duke.severn](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/duke.severn/32/38191_2.png) [@duke.severn](https://forum.bubble.io/u/duke.severn)\
**Post date:** [July 8, 2019, 10:49am UTC](https://forum.bubble.io/t/help-with-date-in-a-group/61148/10 "2019-07-08T10:49:01Z")

</div>

Correct

---

<div class="post-metadata">

**Author:** ![paulogustavopeixoto](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/paulogustavopeixoto/32/253627_2.png) [@paulogustavopeixoto](https://forum.bubble.io/u/paulogustavopeixoto)\
**Post date:** [July 8, 2019, 10:49am UTC](https://forum.bubble.io/t/help-with-date-in-a-group/61148/11 "2019-07-08T10:49:58Z")

</div>

Spot on mate. Great help
