B4A Question Problem DateTime.DateParse if date contains Sep - RB Smissaert    Dec 31, 2023 = 86400000 'number of milli-seconds in a day
'need to make sure to have: DateTime.DateFormat...-----------------------------------------
Try
lTicks = DateTime.DateParse(strEmisDate... B4J Code Snippet SQL Server - Convert SQL Server Datetime Value to Unix Datetime and vice versa - hatzisn    Nov 4, 2022   (2 reactions) 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... Italian [risolto] B4J - DATETIME - ivanomonti    Apr 20, 2020 scusate ma non esisteva una funzione che diceva formato ora 24 ore o 12? Cazzarola son vecchio hahahah, mi rinfrescate la RAM... B4J Code Snippet MySQL Negative Dates - Long DateTime (such as Birthdays) problem - Harris    Jan 21, 2022 There's one big problem with MySQL: MySQL cannot convert negative epoch timestamps (long values) (dates before 1-1-1970). This creates problems with for example birthdates. But there are workarounds. This is my workaround - and it shows the proper birthdate when that date is less than 1970... " date_format((DATE_ADD(FROM_UNIXTIME(0), interval club_member.dob / 1000 second)),'%Y... " club_member.dob " is my table field with the datetime long value... Above link attempts... B4A Question Get datetime from a specific time zone. - jahswant    Sep 26, 2024 I have this timespan : 1726954050000 . I want to always display "Eastern Daylight Saving Time" independent of whic timezone i'm in.... B4i Question DateTime and locale - Semen Matusovskiy    May 10, 2019 Hi, guys -- Is it possible to set locale on fly for DateTime functions ? My app already has #PlistExtra: <key>CFBundleLocalizations</key> and this works fine, for example in textfield context menu. But there is no effect for DateTime.DateParse, DateTime.Date etc. Any ideas ?... B4A Question DateTime.SetTimeZone - LucaMs    Apr 18, 2017   (1 reaction) DateTime.SetTimeZone should affect the conversions of dates to ticks and viceversa: 54859 Is it correct? If so, where is my error in this code? Dim AbsTicks As Long = AbsDateTicks(DateTime.Now... = DateTime.DateFormat ' Stores the device time zone offset. Dim DeviceTimeZoneOffset As Int = GetTimeZoneOffset ' Changes the date format. DateTime.DateFormat = "MM/dd/yyyy hh:mm:ss" LogColor("date : " & DateTime.Date(DateTicks), Colors.Blue) LogColor... 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... 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 ... Bug? Datetime() isn't supported Thai Regional Format - Theera    Aug 6, 2023 I have problem about coding ThaiCarlendar. I 'm helped from Aeric (Malaysia) in coding. my resul... Page: 1   2   3   4   5   6   7   |