B4A Tutorial [B4X] DateUtils - Simplifies Date and Time Calculations - Erel    
Feb 7, 2021   
(11 reactions)   
tags: Date, dateutils, date timeDateUtils is a code module with a set of useful date and time related methods.
It complements DateTime api, it doesn't replace it.
The methods included in DateUtils:
'Calculates the period...
link: is identical to B4A DateUtils. The version bump was related to the new proguard file added to B4A....
link: Is there jDateUtils v1.10 ?...
link: Fixed....
Other [new feature] b4xlib - a new type of library - Erel    
Nov 2, 2020   
(69 reactions)   
tags: b4xlib;libraries, b4x library, Erel
B4J.DependsOn=jXUI, jDateUtils
B4A.DependsOn=XUI, DateUtils
B4i.DependsOn=iXUI, iDateUtils
Files... other libraries in the Libraries tab.
Example of AnotherDatePicker custom view packaged...
B4A Question R8 java.lang.ClassNotFoundException: xxx.dateutils$_period - Alessandro71    
Oct 21, 2026 I have a ClassNotFoundException referring to dateutils$_period
commenting out #R8Optimizer: True turn the app back to normal behavior
i also noted that while DateUtils is listed as Internal in the Libraries Manager...
link: This is strange as there is a rule in DateUtils.proguard to keep b4a.example.dateutils._period...
link:
This is strange as there is a rule in DateUtils.proguard to keep b4a.example.dateutils._period...
B4i Question DateUtils - GetMonthName set device localization language - Alexander Stolte    
Dec 22, 2021if i call DateUtils.GetMonthName then it returns the month name in english on a german language device, how can i set the device language to get the month name in the right language?...
link: ----------------
SetDateTimeLocale(GetPreferredLanguage)
Log(DateUtils.GetMonthName(DateTime.Now))
End Sub
Sub...
B4A Question Chrono Pause, Stop, Reset with DateUtils - zed    
May 10, 2021   
(1 reaction)Good morning all.
Here is an example of a chrono that uses system time and the DateUtils library.
The principle is very simple.
It takes two different times to use DateUtils.PeriodBetween (H_Start...
Dim restart As String = DateUtils.TicksToString(myStartTime)
Dim mystart() As String...
link: The part of code that changes the time zone is used in another application only to display the date...
link: Moved to the questions forum.
DateTime.Date / Time should never be used for anything other than to...
B4i Library [module] DateUtils - Erel    
Nov 6, 2014   
(6 reactions)B4i implementation of DateUtils: http://www.b4x.com/android/forum/threads/26290/#content...
B4A Question Old DateUtils module conflict with XUI Views - incendio    
Jan 22, 2019Hi guys,
I have apps that use old DateUtils.bas 1.05 module, it was compiled OK until used with XUI Views 1.8.
When XUI Views Lib added, compiled got error : DateUtils used twice
But if DateUtils...
link: Ok, done, seem works now, thanks....
link: You will need to rename it as it causes a conflict with one of the global variables in XUI Views....
link: I am intend to use DateUtils from XUI Views.
Yes, I have a module named Scale.
Is this the caused...
B4A Question [B4X] DateUtils.SetDateAndTime with pm - Alexander Stolte    
Jan 18, 2024I live in a country that has the 24 time format. How do people in the USA use the DateUtils.SetDateAndTime function? You can't specify whether the time I create is am or pm....
link: :mm:ss a"
Log(DateUtils.SetDateAndTime(2024,1,18,13,59,0)) '1705604340000
Log...
B4i Question DateUtils SetDate - Cannot parse: invalid date - Alexander Stolte    
Jan 12, 2024
if i do this and call the DateUtils.SetDate function, the following error occurs:
Application_Start...I'm using the following code to set the DateTime locale to the system preferred language.
Sub SetDateTimeLocale (locale As String)
Dim loc2 As NativeObject
loc2 = loc2.Initialize... As NativeObject = DateTime
no.GetField("dateFormat").SetField("locale", loc2)
no...
link: Change the code to:
Sub SetDateTimeLocale (locale As String)
Dim loc2 As NativeObject
loc2...
Wish [Solved] DateUtils as Internal Library for B4J and B4i - aeric    
Jan 10, 2023   
(1 reaction)https://www.b4x.com/android/forum/threads/b4x-dateutils-simplifies-date-and-time-calcuations.26290/
I found DateUtils only appears in B4A.
I wish it also included in B4J and B4i since it is a B4X module....
link: Oh no, I am getting old ?...
link: It is an internal library named iDateUtils / jDateUtils....
Page: 1  
2  
3  
4  
5