Announcements
Hi,
I have a dropdown for date in my app where date is coming from my datasource and user can select the date. Now issue is I'm trying to add a condition where dropdown.selectedtext.value = date_num (Column in my DB for where I have converted datetime into integers e.g. 202311161354(yyyymmddhhmm)). Now I want to my dropdown value which has type text I want to convert it into integer type in the mentioned format in my condition. Plus I dont want to change datetime format in dropdown. I have also added below the SS of datetime value in my dropdown. The second SS displays the date format which I want for dropdown date to be.
Hi @MAli_Ch ,
Please try:
Int(Text(DateTimeValue("11/15/2023 1:31 PM"),"yyyymmddHHmm"))
Best Regards,
Bof
Thanks @v-bofeng-msft.Your solution worked out.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 103
WarrenBelz 82 Most Valuable Professional
wolenberg_ 67 Super User 2026 Season 1