can certainly still be optimized.
Private Sub isCurrentMonth(ticks As Long) As Boolean
Return DateTime.GetYear(ticks) = DateTime.GetYear(DateTime.Now) And DateTime.GetMonth(ticks) = DateTime.GetMonth(DateTime.Now)
Private Sub isSameYear(ticks_1 As Long,ticks_2 As Long) As...
I'm trying to convert a 24 hour time to 12 hour with AM/PM. I've tried to use the documentation for date/time formats.
Here's my code:
Dim TimeString as String = "21:00"
Dim TimeValue=DateTime.TimeParse(TimeString&":00") as Long
DateTime.DateFormat= "h:mm a"...
(Herefor iOS version)
Change (DateTimeChange As Long)
Class_Globals As String
DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
Base type must be Object
Initialize (Callback As...
I know this been discussed here quite a few times, but I still am unable to format an SQL date field as I desire, it keeps showing me the date as yyyy-mm-dd...
I tried the following code and the result is always the same: yyyy-mm-dd
DateTime.DateFormat = "dd/MM/yyyy"