Object documentation: DateTime B4J Code Snippet SQL Server - Convert SQL Server Datetime Value to Unix Datetime and vice versa - hatzisn    Nov 4, 2022 It requires jDateUtils library Sub GetDatetimeValueSqlServerFromUnixDatetime(dt As Long) As Double Dim p As Period = DateUtils.PeriodBetweenInDays(DateTime.DateTimeParse("1/1/1900", "0:0:0"), dt) Return p.Days + ((p.Hours * 3600 + p.Minutes * 60 + p.Seconds)/(3600*24)) End Sub Sub GetDatetimeValueUnixFromSqlServerDatetime(days As Double) As Long Dim p As Period...)) Return DateUtils.AddPeriod(DateTime.DateTimeParse("1/1/1900", "0:0:0"), p... B4J Code Snippet MySQL Negative Dates - Long DateTime (such as Birthdays) problem - Harris    Jan 21, 2022 " club_member.dob " is my table field with the datetime long value... Above link attempts... B4J Question Datetime.Dateformat localization - marcick    Sep 8, 2023 Is that possible to force a specific localization for dateformat (in my case italian) regardless of ... B4J Question Calculating elapsed milliseconds with DateTime.Now - max123    Sep 12, 2023 Button1_Click
Dim t1,t2 As Long
t1 = DateTime.Now
Log("S: " & t1)
Dim... (DivideDouble(Number1, Number2, 1000000)) Complete (rtn As Double)
t2 = DateTime.Now
Log... B4i Question [B4X] DateTime.Date gets the year as short number 21 instead of 2021 - Alexander Stolte    Mar 10, 2021 How can i get the year as 2021 instead of 21?
DateTime.Date(dt_end)'28.02.21... B4J Question [BANano] [SOLVED] Request list of DateTime Functions & Date Time Formats supported? - Mashiane    Jan 8, 2021   (1 reaction) for the DateTime object in BANano?
'convert a string to a date
Sub DateIconv(sDate As String) As Long
Dim lng As Long
Dim OrigFormat As String=DateTime.DateFormat
If sDate.Length >... B4J Question B4j DateTime Get Next Month ? - Addo    Dec 10, 2020 is there any possibity to get the next month from the current day ?
as example Today is 12/10/2020
i want to get the next month of 1/10/2021
any simple workaround ?
in php there is something like t... B4J Question [BANano] Working with DateTime Object - Mashiane    Jul 19, 2020 Ola I've been trying to get some date time functions working to return the expected result. For example this long date format.. EEEE, dd MMMM yyyy The EEEE is returned as is and the month is not for "January" but 0101. Ta!... B4J Question datetime - ivanomonti    Apr 20, 2020 good morning everyone, I do not remember but there was no possibility to set datetime in 24 hours instead of 12 with am or pm, I would need to know if you are talking about 6 pm or 6 am but I can not... B4A Tutorial [B4X] Smart String Literal - Erel    Dec 8, 2016   (53 reactions)   tags: smart string literal, smart string that the formatters are case insensitive. Date - Equivalent to DateTime.Date: Log($"Current date is $date{DateTime.Now}"$) 'Current date is 02/02/2015 Time - Equivalent to DateTime.Time: Log($"Current time is $time{DateTime.Now}"$) 'Current time is 11:17:45 DateTime - Equivalent to DateTime.Date & " " & DateTime.Time: Log($"Current time... Page: 1   2   3   4   5   |