P Penfound Active Member Licensed User Longtime User Mar 12, 2014 #1 I know there has got to be something I'm missing here, but I can't see it. How do I get the date as presented by ADP.GetDate() as a long into a label text formatted as .toString("dd MMM yyyy") Thanks Penfound
I know there has got to be something I'm missing here, but I can't see it. How do I get the date as presented by ADP.GetDate() as a long into a label text formatted as .toString("dd MMM yyyy") Thanks Penfound
mangojack Expert Licensed User Longtime User Mar 12, 2014 #2 There might be a more direct approach but.. Code: Copy DateTime.DateFormat = "dd MMM yyyy" Label1.text = DateTime.Date(ADP.GetDate) Upvote 0
There might be a more direct approach but.. Code: Copy DateTime.DateFormat = "dd MMM yyyy" Label1.text = DateTime.Date(ADP.GetDate)
P Penfound Active Member Licensed User Longtime User Mar 12, 2014 #3 Just as I thought unbelievably easy! I completely forgot about DateTime functions. Thank you so much mj Upvote 0
Just as I thought unbelievably easy! I completely forgot about DateTime functions. Thank you so much mj