SOLVED

date problem when customize form with powerapps

%3CLINGO-SUB%20id%3D%22lingo-sub-209048%22%20slang%3D%22en-US%22%3Edate%20problem%20when%20customize%20form%20with%20powerapps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-209048%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20I'm%20using%20powerapps%20to%20customize%20my%20form%20to%20display%20or%20hide%20some%20columns%20based%20on%20a%20certain%20value%20of%20one%20of%20my%20column%20in%20sharepoint%20online%20modern.%3C%2FP%3E%3CP%3EI'm%20able%20to%20do%20the%20work%20but%20when%20I%20finished%2C%20I%20found%20the%20date%20field%20displays%26nbsp%3B%20in%20a%20strange%20way.%3C%2FP%3E%3CP%3E%3CSPAN%3EHere%20is%20the%20example.%20This%20is%20the%20default%20view%2C%20with%20title%2C%26nbsp%3Bentry%20date%2C%20application%20category%2Cstart%20date%20and%20end%20date.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20280px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F36719i1C5B0F7F122E44FC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22before.png%22%20title%3D%22before.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWhen%20I%20apply%20the%20customized%20view%2C%26nbsp%3BThere's%20application%20category%2Cstart%20date%20and%20end%20date.%20And%20the%20date%20field%20is%20shown%20in%20a%20strange%20way.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20304px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F36720iB7E6919930359803%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22after.png%22%20title%3D%22after.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EC%3CSPAN%3Ean%20I%20have%20the%20default%20date%26nbsp%3Bformat%20with%20customized%20view%3FCan%20I%20get%20some%20help%3F%20Thanks.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-209048%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-210124%22%20slang%3D%22en-US%22%3ERe%3A%20date%20problem%20when%20customize%20form%20with%20powerapps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-210124%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%2Cthat%20explains%20it.I%20will%20try%20the%20workaround%20and%20wait%20for%20further%20updates%20if%20there%20is%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-210068%22%20slang%3D%22en-US%22%3ERe%3A%20date%20problem%20when%20customize%20form%20with%20powerapps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-210068%22%20slang%3D%22en-US%22%3EHi%2C%20do%20you%20mean%20by%20strange%20the%20fact%20that%20the%20times%20are%20separate%20from%20the%20date%3F%20That%20is%20due%20to%20the%20fact%20that%20there%20is%20no%20datetime%20picker%20control%20yet%20in%20PowerApps%20but%20only%20a%20date%20picker.%20To%20select%20the%20time%20part%20of%20the%20datetime%20separate%20pick%20lists%20are%20used%20and%20the%20result%20is%20the%20space%20between%20the%20date%20and%20time%20elements%20of%20the%20date%20time.%20You%20could%20simply%20drag%20and%20drop%20the%20controls%20a%20little%20bit%20closer%2C%20but%20it%20will%20be%20different%20from%20the%20standard%20form.%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi, I'm using powerapps to customize my form to display or hide some columns based on a certain value of one of my column in sharepoint online modern.

I'm able to do the work but when I finished, I found the date field displays  in a strange way.

Here is the example. This is the default view, with title, entry date, application category,start date and end date.

 before.png

When I apply the customized view, There's application category,start date and end date. And the date field is shown in a strange way.

after.png

Can I have the default date format with customized view?Can I get some help? Thanks.

2 Replies
best response confirmed by 淳嘉 銭 (Occasional Contributor)
Solution
Hi, do you mean by strange the fact that the times are separate from the date? That is due to the fact that there is no datetime picker control yet in PowerApps but only a date picker. To select the time part of the datetime separate pick lists are used and the result is the space between the date and time elements of the date time. You could simply drag and drop the controls a little bit closer, but it will be different from the standard form.

Thanks,that explains it.I will try the workaround and wait for further updates if there is