All this work for just a calendar... PowerApps how can you do this?!! Masive respect for you Shane. 👌👌
@ShanesCows10 ай бұрын
Thanks. Happy to help. Good news once you get the hang of it, the process isn’t too bad.
@naseerabed42447 ай бұрын
Explained the demo amazingly!!! Thank you! By the way, we can use these two formula to navigate to next month and previous month: Set(varVideoMonth, Date(Year(varVideoMonth),Month(varVideoMonth) + 1, 1)); Set(varVideoMonth Date(Year(varVideoMonth),Month(varVideoMonth) -1, 1));
@vincephillips53583 жыл бұрын
Great work Shane!! Very useful concept😁😁😁👍👍 For any UK users the initial formula format needs to change to fit dd/mm/yyyy Set(varMonth, DateValue ("1"&"/"&Month(Today()) & "/"&Year(Today())))
@ShanesCows3 жыл бұрын
Vince I show dd/mm/yyyy later in the video. My thought was use the date "American style" and only change it at presentation time?
@MaliYojez2 жыл бұрын
Being in the UK, I found the calculation went wrong when embedding the Power App on a site page (the site's region was correct). The addition of en-GB here fixed the issue Set(varVideoMonth, DateValue("1" & "/" & Month(Today()) & "/" & Year(Today()), "en-GB")); Oddly, even without that small change, it worked perfectly as a standalone or added to Teams.
@tilman13 жыл бұрын
Hi Shane, phantastic as always, amazing solution! The unflexibility of the onbaord calendar control has always bothered me, and this will be a great progress in it. Just one thing 'I noticed: This year we had a February starting with Monday. So to be 100,00% perfect, the sequence formula for the gallery items could be extended to: Sequence( If(DateDiff(varVideoFirstDayView, DateAdd(varVideoMonth, 1, Months), Days)>36,42, If(DateDiff(varVideoFirstDayView, DateAdd(varVideoMonth, 1, Months), Days)>29,35,28 ))) Cheers, Tilman
@tilman13 жыл бұрын
(If February has only 28 days and week configured as beginning with Monday)
@ShanesCows3 жыл бұрын
Thanks Tilman. 🐶
@JennyJenn8313 жыл бұрын
Shane, no lie, I cheered out loud no less than 3 times as I worked along with you on this one. Can't thank you enough!
@ShanesCows3 жыл бұрын
I ❤️ it Jennifer! Keep up the good work.
@kimgaskins55373 жыл бұрын
Thanks Shane. I just replaced a calendar control that wasn't working with the one you just did!!!! Thanks for sharing!
@ShanesCows3 жыл бұрын
Awesome 😎
@zpvnrt3 жыл бұрын
YEA -- I was just looking at SharePoint and all of the overlay methods to build a color coded vacation calendar in classic; however, we have the modern views enabled... sigh and here you are again with the answer to my task at hand - like reading my mind!!! >> THANK YOU
@ShanesCows3 жыл бұрын
Glad it was helpful! I have been practicing my work as a psychic . 😹
@louiscutmore3 жыл бұрын
Fan-flippin-tastic! Thanks for the Monday and non-US date version. Very helpful for your non-American friends 😊 Bring on Part Deux
@ShanesCows3 жыл бұрын
Next Monday :)
@kismetGH3 ай бұрын
Thanks a lot! Teaching every steps in details, very easy to follow!
@ShanesCows3 ай бұрын
Happy to help! Have a great week.
@bjclark31072 жыл бұрын
A great resource. I found I had a smoother experience building a collection of dates based on your dateadd function and using that for the calendar items. All the same a great video, thank you.
@4-r-k2 жыл бұрын
Microsoft cannot provide builtin native Calendar Control in PowerApps? This is a total speechless moment! Anyway, your approach is awesome!!
@ShanesCows2 жыл бұрын
Thanks
@emanueleciccia93882 жыл бұрын
Hi Shane, your video was so fantastic. Please, how can I create the variable "varFirstDayMonth", with which value?
@ToddWantz-v5y9 ай бұрын
I apprecate the walk though. I addressed the number of active weeks with an algorithum. - I subtracted the end of the month date from the beginning of the range date minus 1, - I rounded down (I had an extra decimal from the previous step) - Devided by 7 - Rounded up - Multiplied by 7 This also handled Feb 2026 which has 4 weeks only.
@gerusnero3 жыл бұрын
incredible work. even such a simple solution to change the start of week for us Europeans :D (had me scratching my head during the video until you so elegantly solved it!)
@ShanesCows3 жыл бұрын
Glad to help and glad someone on Twitter reminded me.
@parranoic3 жыл бұрын
If you are in an European country using DD/MM/YYYY use: Date(Year(Today()), Month(Today()), 1) for varVideoMonth instead of: DateValue(Month(Today()) & "/" & "1" & "/" & Year(Today())) If you don't, you will end up the calendar defaulting to January (since month and day are inverted) and the day will be the current month.
@ShanesCows3 жыл бұрын
Thanks for sharing.
@estherlopeznavarro61003 жыл бұрын
Great video! Thanks Shane!! It is really fun to watch your videos!
@ShanesCows3 жыл бұрын
Thanks 😊
@bootsbax3 жыл бұрын
Thanks Shane! I’m looking forward to the second part too!
@ShanesCows3 жыл бұрын
I think at this point if I don't release it next Monday I will be in trouble. 😊
@seyitc19423 жыл бұрын
One of your best videos! This knowledge helps a lot to develop some great Apps with a lot of functionalities. Looking forward to part two :) Greetings from Germany
@ShanesCows3 жыл бұрын
Awesome, thank you!
@parranoic3 жыл бұрын
Shane thank you so much for this, you don't now how much you helped me :).
@ShanesCows3 жыл бұрын
Awesome Don!
@manueldipaolo97083 жыл бұрын
You're amazing!. I just needed to see a video like this! Thanks so much.
@ShanesCows3 жыл бұрын
You're so welcome!
@chrislee33782 жыл бұрын
Thanks Shane, my company already thinks that I'm a magician..... lol, thanks to your videos!
@ShanesCows2 жыл бұрын
Awesome Chris. Tell them we (I mean you 😂) deserver a raise.
@jamesf.thomas75832 жыл бұрын
Shane this was a great video tutorial on building the calendar application. Thank you for spending the time to make this video, and great job doing it.
@bernierainerguy Жыл бұрын
Thanks Shane - great video, really helpful. Can you provide the link to Part 2 please - the child gallery with the data - cheers
@TyRey3 жыл бұрын
great one! Looking forward to part two
@ShanesCows3 жыл бұрын
I promise it will be a week from today. ♥
@mohdhanif80693 жыл бұрын
Awesome shane , looking forward part two
@ShanesCows3 жыл бұрын
6 days. 😎
@karolinaunderwood10392 жыл бұрын
Another great video Shane, thank you.
@ShanesCows2 жыл бұрын
My pleasure!
@annadewitt1233 жыл бұрын
Hello Shane! I suggested this calendar topic couple weeks ago at one of your tweet, I was looking forward to see it :) Thank you for this great video. I couldn't completely watched it yet, but I hope it involves (or will involve) picking date or date range for arranging appointments and it shows week numbers and events like holidays.
@ShanesCows3 жыл бұрын
Thanks for the idea Anna! I couldn't remember how I got down the rabbit hole. 😹 Too many rabbit holes at this point.
@vitorcalcenoni5385 Жыл бұрын
Just what I was looking for! Thanks man!!! 🙌🙌🙌🙌
@ShanesCows Жыл бұрын
Awesome, glad to help.
@alejandraacosta47963 жыл бұрын
Muchas gracias Shane, este video fue espectacular! tus tutoriales son realmente didácticos y me han ayudado demasiado. Saludos desde Colombia
@sininv13 жыл бұрын
Shane. This is great. Lookin forward to the part 2. Will u also show how to use calendar to let use block out for meeting ? And unblock. Anyway to send notification to the meeting user involved? Is is able to sync into outlook? Thanks. Thx
@ShanesCows3 жыл бұрын
Part 2 is going to be about displaying data from SharePoint on the calendar. Maybe a part 3 will cover working with the source data. Not sure about it yet. Part 2 is next Monday for sure though.
@abdullahbasher60303 жыл бұрын
Greeting from Pakistan..valuable tutorials... learnt alot from you... have suggestion that make sequence of tutorials that will boost the learners understanding step by step... Thanks
@ShanesCows3 жыл бұрын
If you go to training.powerapps911.com I have both free and paid classes that are more structured 😀
@pamsmith1635 Жыл бұрын
Hey Shane! This video is great! I did notice that when adding the “Days” function it doesn’t seem to work. Do you know whether this has been removed? The formulas seem to work without it (ex. DateAdd(varVideoFirstDayView, ThisItem.Value).
@pamsmith1635 Жыл бұрын
Think I figured it out! You have to put “TimeUnit.Days” instead of just “Days.”
@BigLeafDropper863 жыл бұрын
Knowledge BOMBS, thanks Shane!!
@ShanesCows3 жыл бұрын
Glad to help. 😀
@tuicakaukasaimatuku47162 жыл бұрын
Awesome Tutorial Shane. Appreciate it!
@tomaspisecny60383 жыл бұрын
Hello Shane, firstly I would like to thank you very much for your tutorials! I would like to ask, is possible show in calendar item which is not only text but lookup or person? I tried, but it does not work. Thank you. Best regards, tom
@ShanesCows3 жыл бұрын
ThisItem.LookUp.FieldFromLookup I think is the pattern you are looking for.
@tomaspisecny60383 жыл бұрын
@@ShanesCows Hello Shane, thank you for your help. I used Text(DataCardValuePerson.Selected.DisplayName) and it works as well. :) Please, can I ask you for one more help? When you showed DateAdd(varVideoFirstDayView, ThisItem.Value, Days) = reservations are visible. When I use Text(DateAdd(varVideoFirstDayView, ThisItem.Value, Days), "dd") = reservations are unvisible. How can see short version of dates and reservations as well? Thank you. Best regards, tom
@NikiNuts12 жыл бұрын
@@tomaspisecny6038 Did you find a solution to this?
@louisemcquillen98573 жыл бұрын
Thanks Shane, love your videos. I built the calendar, wow surprised myself.... But dates keep converting to DateTime format instead of staying in Date format... all I did is change some variable names... very frustrating. How do I get it back to display Date format?
@ShanesCows3 жыл бұрын
Use the Text function and you can control how the date is displayed.
@latrobe152 жыл бұрын
Awesome as always. Thanks Shane
@ShanesCows2 жыл бұрын
My pleasure!
@keithdavies91503 жыл бұрын
I have just two words - Freakin' Awesome!
@ShanesCows3 жыл бұрын
Thanks. Wait till you see part 2. I am close to recording it and it is melting my mind. 🐶
@aliciachoy79213 жыл бұрын
Hi Shane, a great calendar app that you have created. How to go back to "Today"? there is the previous month and the next month. Please advise thanks.
@ShanesCows3 жыл бұрын
I haven’t done that. Sounds like a a fun video. I think most of the logic would be the OnStart logic for getting the variable and collection back to base.
@igobyness3 жыл бұрын
Hi Shane! I’m getting stuck at the 13:46 mark, trying to add the DateAdd(varVideoMonth; - Weekday(varVideoMonth, Days) fx
@ShanesCows3 жыл бұрын
You need 2 ) at the end of the formula 😀
@zerokhan8585 ай бұрын
thanks shane! this one was particulary intersting hahaha
@ShanesCows5 ай бұрын
Happy to help. Have a great day. 🐶
@juandavila40353 жыл бұрын
Thanks Shane, great video.
@ShanesCows3 жыл бұрын
My pleasure!
@anittaalex84872 жыл бұрын
Hi Shane. You are amazing. Can you help me on why Varvideomonth = Blank . I am not able to assign value to variable. I am kind of new to powerapps
@andreasalazarmolina28922 жыл бұрын
Hello, did you manage to solve this error?
@朱珈樂Ай бұрын
I have the same question , too
@glennbullion90692 жыл бұрын
Trying to watch parts 1 and 2 to fully wrap my head around things. Quick question. How did you go about color coding different events?
@ShanesCows2 жыл бұрын
Conditional formatting. Set the label full color if the condition is what you want.
@cristinay4685 Жыл бұрын
HI Shane, thank you so much for this video. I was wondering if this is possible using Shared calendars?
@ShanesCows Жыл бұрын
Yes, but you have to use the Graph API to do it. :( One of my students built herself the solution but it was a lot of work for her.
@cristinay4685 Жыл бұрын
I wish they would make it easier to achieve! @@ShanesCows
@nitzan3003 жыл бұрын
Thanks a lot like always, such a great video!!
@ShanesCows3 жыл бұрын
Thanks 🙏
@danielroldan92882 жыл бұрын
Join the team! great video!
@scotsunnergren91273 жыл бұрын
Thanks for this Shane... small question... in the designer, you click the button and it performs the action. Mine does not. how can I get it to do that in design mode without taking the app to preview?
@scotsunnergren91273 жыл бұрын
Nevermind... found my ALT key... :)
@ShanesCows3 жыл бұрын
Glad you got it Scot
@shelleylau76032 жыл бұрын
Hi Shane! I changed the text of the calendar label to "Text(DateAdd(varFirstDayView, ThisItem.Value, Days), "d")" so instead of displaying the full date, it only shows the day number, but this has a knock-on effect on the 'Fill' formula, which lifts today's date as a point of comparison. I've tried "If(Text(DateValue(Label11.Text)) = Text(Today(),"d"), Purple, White)" but this doesn't work. Is there anyway around this or will the fill function only work when the full date is on display? I'm rather new to PowerApps, so something might easily be going over my head! Thank you!
@shelleylau76032 жыл бұрын
I also tried "If(DateValue(Label11.Text) = Day(Today()), Purple, White)" which didn't do anything either...:(
@jimwaldron38583 жыл бұрын
Great Video Shane - when will the link for the next part be available
@ShanesCows3 жыл бұрын
Monday the 29th at 8:30 AM it hits KZbin. Will be in the curated library at training.powerapps911.com tonight.
@BurningSock3 жыл бұрын
Question for part 2, Shane - do you know of a way to add recurring calendar items within PowerApps (with a SharePoint calendar list as the datasource) without using say a daily Power Automate flow
@ShanesCows3 жыл бұрын
I haven't tried. I will look at it when I dig in more.
@NKBobcat3 жыл бұрын
Nice job Shane!
@ShanesCows3 жыл бұрын
Thanks Bob!
@enapier1002 жыл бұрын
This is fantastic! Great instruction as usual
@dquez93 жыл бұрын
Great Video! or vidoe if you will. on to part 2. I do have some problems with the (Today()) function adding the time when I don't want it to. But, strangely goes away when I same and close powerapps. Shane, is there a way to lock in the format of today() with no time shown with the steps you've provided? Thank you, -Dan V.
@seadude3 жыл бұрын
Excellent tut! Thank you Shane!
@DavidWallach-n9b7 ай бұрын
How would you go about just displaying just the day number, like most calendars, instead of the full date for the day?
@ShanesCows7 ай бұрын
THere is a Day function that you could wrap around the full date to just return the Day portion.
@Holru3 жыл бұрын
First off, a huge thank you Shane, your videos have been a godsend. Cannot even count how many times I have turned to your videos. Secondly, an European here, so your examples on date functions were much appreciated! However, when you switched to EU format on around 28:30, your red fill on Label 1 (on your galMonthView) disappeared (was on 03/21/2021). I guess it does not recognize the changed date formatting (from US to EU). Any ideas how to implement this Fill setting on top of the EU date formatting? Keep up the good work!
@frankeddy27263 жыл бұрын
I'm getting the same issue, any ideas anyone???? Shane please enlighten if you have the time thanks. Great work
@ShanesCows3 жыл бұрын
What if you use the Text formula to convert both of them to the same format in your If for the fill color? That should do the trick. :)
@matlionis61103 жыл бұрын
Hi Niklas, did you manage to do this? I can not wrap my head around it. This is what I got in the Fill If(Text(DateValue(Self.Text),"dd/mm/yyyy") = Today(), Red, White) but it does nothing...
@mccaslinhughes52113 жыл бұрын
figured it out, set Text to "Text(DateAdd(varFirstDay, ThisItem.Value,Days),"dd/mm/yyyy")" set Fill to "If((Self.Text)=Text(Today(),"dd/mm/yyyy"),LightBlue,White)"
@brat31412 жыл бұрын
Modify the rest of the function in FILL for dates that are not part of the selected month (European date)? Solution: If((Self.Text) = Text(Today(),"dd/mm/yyyy"),RGBA(0, 18, 107, 0.7), Month(DateValue((Self.Text),"hr-HR")) = Month(DateValue(varVideoMonth)), RGBA(187, 221, 140, 1),RGBA(187, 221, 140, 0.5))
@terriefuller45563 жыл бұрын
Shane this is amazing! I used your code for shading out the month before, and the month after EXACTLY. My calendar is shading the month before, but not the month after. Any thoughts?
@matthewhorstman7403 жыл бұрын
Hi Terrie, not sure if this is the best/easiest way but it worked for me. For reference, varClientMonth is the variable that displays the month in the large header. I was also just using a defined color vs. a variable like Shane did. If(DateValue(Self.Text)=Today(), White, Month(DateValue(Self.Text))= Month(varClientMonth), Blue, If (Month(DateValue(Self.Text)) > Month(varClientMonth + 1),ColorFade(Blue, 40%), If (Month(DateValue(Self.Text)) = Month(varClientMonth - 2),ColorFade(Blue, 40%),Blue)))
@AaronHowell873 жыл бұрын
Using your calendar, I added a dropdown for everyday so users could change who is 'on-call', but I'd like to have default set... how would I add the users name for a seven day stretch, every other week? Sun-Sat calendar, but the 7 days starts on a Tuesday and ends on a Monday..
@julireid95743 жыл бұрын
Is there anyway in Power Apps that you can detect the keyboard language and then use that to determine if the date is mm/dd/yyyy or dd/mm/yyyy?
@ShanesCows3 жыл бұрын
There is a Language function that returns the users language. 😎
@izaakfrost163 жыл бұрын
Hi Shane, thanks so much for your videos, they’re great! I’ve built this app and it works perfectly on the web, but when I go onto my iPad to use the same app, PowerApps confuses itself. The standard date format on the web is mm/dd/yyyy, however when I use the iOS app, the standard format is dd/mm/yyyy, rendering the app useless on my device… any suggestions as I’m pretty stuck for a solution! Keep up the fantastic work!
@ShanesCows3 жыл бұрын
Yikes. I have never seen that one. 🤔
@izaakfrost163 жыл бұрын
@@ShanesCows Hi Shane, my bad - I forgot to remove this comment! The browser I was on was set to English (US), when I switched it back to English (UK) it worked perfectly!
@bradpayton4368 Жыл бұрын
Shane. I am new to Power Apps and have been trying your video on building the calendar. I am @ 14:09 and have enter the Set(varVideoFirstDayView portion, but it alway = Blank. I have no idea what I am doing wrong. Any suggestions on what I can try. Thank you for any help.
@milidottori40572 жыл бұрын
Hi Shane, I need some help to get a room calendar. The room calendar is already set on public mode so everybody has access to check this but when I want to add it to a powerapps gallery and have a full calendar from that room, I can only see the reservations I've made. How can I see the reservations my mates made? Thank you!! greatings from Spain
@Marcelo_Trabalho Жыл бұрын
Hi there, my power apps can´t find the formula "Months" or "Days" for some reason. Do you know why?
@dougsmith62832 жыл бұрын
I was pulling my hair out coz my dates were not aligning with yours, me thinking Ive missed a part of the math. Then I realised its 2022 not 2021!! 😆
@ShanesCows2 жыл бұрын
Whoops 😂
@jeremyk64562 жыл бұрын
Question: Sharepoint List customized with a PowerApp, using a SP Calendar View, how can I make the Default Date for that SP record be the same as the Date that they clicked on from that Calendar View? (When they click the little 'new' link on the date to add a New Item, I want that Date to be the Default Date for that item)
@manojhari7077 Жыл бұрын
Hi Shane, i have created the calendar and on each date i have added dropdown so when i select dropdown on the two different dates it not patching dates to list instead it is saving same date ,do you how i can get the date value for each dropdown?
@ashokpershad3 жыл бұрын
Great Shane...
@ShanesCows3 жыл бұрын
Thanks. I was pretty excited for this one.
@sundrapillay66683 жыл бұрын
Thanks Shane excellent
@ShanesCows3 жыл бұрын
Thank you, thank you 🐶
@GoWstingray3 жыл бұрын
Thar variable corrupting thing has been annoying me recently also, it keeps saying it’s a record value when it was just supposed to be a number. Glad it’s not just me haha cheers
@ShanesCows3 жыл бұрын
Was driving me nuts. There is also another scenario it throws an error even though the sequence works. UGH
@GoWstingray3 жыл бұрын
@@ShanesCows When your sat there at 1am trying to meet a deadline and that happens you start second guessing and it’s not good. I’ve now learned to just close and reopen lol same when data just won’t refresh grr
@danielgil96513 жыл бұрын
Hi Shane, sorry I have a question, can I use an app that is conected to a sharepoint list if I'm not included in the sharepoint site where the list belongs? I'm having trouble with that, thanks
@ShanesCows3 жыл бұрын
Nope, you have to have access to the underlying SharePoint data sources.
@avinoamrothenberg12443 жыл бұрын
Great video and very useful. BTW 7 divided by 7 (33:23) is still 1 not 0 !! 🧐
@ShanesCows3 жыл бұрын
Mod function returns the remainder so 7 divided by 7 is 1 but has a remainder of 0 😊
@vijayp13803 жыл бұрын
Thanks Shane. Is it possible Html body for the event?
@ShanesCows3 жыл бұрын
Probably but I haven’t tried so not sure.
@paulpage-p7j Жыл бұрын
Hi Shane, what would you do if the 1st does land on a Monday?
@sadafsiraj23 жыл бұрын
Thanks for you video its helpful for us, please create a sales order application in power app using business central.
@ShanesCows3 жыл бұрын
Will try
@sadafsiraj23 жыл бұрын
@@ShanesCows Thank you so much
@NaderIdkeidek6 ай бұрын
didn't you say that we can find the template or whatever in your link ?!!
@ShanesCows6 ай бұрын
You can download the pieces by subscribing here kzbin.info/www/bejne/bYbIg62chdRriKc
@julireid95743 жыл бұрын
Are you planning or have you considered figuring out how you could print that calendar to PDF to look just like it looks in the app, highlighted dates and all?
@glennbullion90692 жыл бұрын
This would be awesome.
@dylanhaugen78752 жыл бұрын
Shane, when I am adjusting the height of Gallery 1 (Gallery 4 in your case) and the Title, it is giving me a circular reference error. Do you have any guidance for this?
@akhilnadhpc3 жыл бұрын
How to show the spinner on calender loads? What is the link to get this component?
@ShanesCows3 жыл бұрын
I talk about Spinners here kzbin.info/www/bejne/i4jcZnyVgtp8nbc
@nico4im466 Жыл бұрын
Hey Shane, great Video I loved it! But something is not working on My Calendar, Today is the 2nd February and my Calendar is still showing me the days from January, do u know how I can fix that ? Thank you so much and greetings from germany!
@s6boi666 Жыл бұрын
I had this issue. I’m working on the maths part now, can’t understand why my DateAdd(VarVideoMonth, - Weekday(VarVideoMonth), Days) is returning 31/12/2022 Confused. Did you fix this?
@s6boi666 Жыл бұрын
Figured it out it need to be in UK date format and not how the US example: Set(VarVideoMonth, DateValue(“1”&”/“&Month(today()) & “/“ & Year(today()))
@guddu6789103 жыл бұрын
Hi Shane , Can you help me make one power app to maintain a shift schedule..Columns should have day and Date (example 30th Apr and Friday) and have employee Names in rows. And I want to plot Shift1/Shift2 against each. I want it to be displayed in power app screen and data saved in sharepoint list. ALso a screen for employees to request leave and approval from manager before it gets updated. Please Help !
@ShanesCows3 жыл бұрын
You can reach out at www.PowerApps911.com we have options to help you build your app there.
@guddu6789103 жыл бұрын
@@ShanesCows thanks Shane
@julireid95743 жыл бұрын
I just watched the Calendar and Clock Function video for MultiLanguage. Have you thought about how you could redo this to reflect the browser date format? Set(varMonth, DateValue(Month(Today()) & "/" & "1" & "/" & Year(Today())))? I set a browser to Spanish and with a label on the screen set to Text(varMonth, "mmmm") it shows January rather than September. I have some ideas but they all require a lot of lines.
@julireid95743 жыл бұрын
BTW I figured this out and it's beautiful. Just use actual date function values rather than text for places where you want it to automatically translate.
@PitakYT3 жыл бұрын
Thank you very much.
@ShanesCows3 жыл бұрын
You are welcome!
@davidcarr77933 жыл бұрын
This has a problem with months that have 5 weeks and the start of the is week is a Friday or Saturday
@javiersobrini60353 жыл бұрын
Amazing!!
@franklinparker95023 жыл бұрын
How are you accounting for Leap Years?
@franklinparker95023 жыл бұрын
Also thanks again for putting together this video. I saw some useful components out there from others but I really like this one you've built. I'm guessing that the leap year is accounted for once the year comes, because the math is completed by using the today function, but it just seems like it wouldn't correct itself until that day actually comes.
@ShanesCows3 жыл бұрын
I am just not sure. I didn’t test for that but in my head it will work. 🤷♂️
@franklinparker95023 жыл бұрын
@@ShanesCows It indeed does work. Once I finished the app, I ran it all the way to 2032 and the dates were consistent. Thank you so much!
@leetyler31023 жыл бұрын
what about if a February starts on a Sunday? you'd only need 28 not 35.
@ShanesCows3 жыл бұрын
Interesting no didn’t think about that. I guess so. 🤔 You could fix it by updating the sequence logic.
@@jimwaldron3858 Strange. Sure you have kept the variable names? The above code is just extended by one if clause of the same structure.
@guzerocode9 ай бұрын
when I try to use the argument "Days", power apps show me "days isn't recognized". Could anyone help me?
@blessingroberts76587 ай бұрын
Have you tried TimeUnit.Days? That's what I did and it worked perfectly
@mohanram.jАй бұрын
Try "TimeUnit.Days"
@ramlia722 жыл бұрын
Thank You!
@sunnyng87083 жыл бұрын
Nice!
@daFrimpster3 жыл бұрын
YIPPEE!!!!!
@ShanesCows3 жыл бұрын
HOORAY!!!!!!!!!!!!
@solarpunk_3 жыл бұрын
Shane, Here's your trick to getting short days of the week without having to type them out in an array: Gallery - Items: Calendar.WeekdaysLong() Gallery - Template - Label: Left(ThisItem.Value,3)
@solarpunk_3 жыл бұрын
or just use Calendar.WeekdaysShort() 🤐
@ShanesCows3 жыл бұрын
Thanks for sharing Tim. I like the short version below. 🤩