Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Query CreatedOn = time * min/hours old in a segment

Posted on by 120

Is it possible to check for create-time of * min/hours old in a segment using a query? Im looking to send out a message for contacts which are create before after data "X" and time "Y". 

Basicly i have 2 questions: 

1. Currently im only able to choose a date in the query selection. I would like to choose date and the time (00:00).  

Schermafbeelding-2022_2D00_03_2D00_25-om-13.39.24.png

2. In Dyanmics i only see date fields with date and time in one column. Is there a way to separate the data and time as a field? 

date and time seperation

Appriciate the help!

  • Verified answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: Query CreatedOn = time * min/hours old in a segment

    Hi,

    You can find the following description in the end of the condition.

    It is by design and cannot be customized. So you cannot choose a specific time.

    pastedimage1648458891373v1.png

    It is recommended to create two custom fields in Contact entity. E.g. Created On Date / Created On Time.

    Then auto fill those two fields with the date and time of the "Created On" field with JS or flow.

    So that the fields can be used in the segment as a condition.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans