datetime

  1. practicalsoft

    B4X FEED Sort by time and date?

    Hello, need help... How to sort it by time and date? List look's like this B4X: OPZJN7-RNVKA-GTVHN7 - 01:13:25 - 12.02.2022 OZJE4I-GY2VI-JZR2D5 - 19:17:24 - 17.02.2022 OY4GIP-Y2YPE-3G6E4M - 14:01:47 - 12.02.2022 OA7TGH-KHPDE-TIIZ5C - 14:05:56 - 12.02.2022 OKLODM-UHBJA-TNUOTH - 22:57:14 -...
  2. practicalsoft

    B4X FEED Formatting column in B4XTable

    Hello! I habe two columns in the B4XTable, one for the date data and the second for the time data. Wenn I set DateTime.DateFormat="dd.MM.yyyy" and try to load the table then I get in both columns date values. If I set DateTime.DateFormat="HH:mm" then I get in both columns time values. How can I...
  3. practicalsoft

    B4X FEED UI app eating up memory

    Hi all, I have a UI app that uses a FileWatcher to catch any new images copied to a folder. These images then need to be cropped and resized down to a usable size. I have set-up the app using the b4J-Bridge to a Ubunto x86 machine. On every new image that has been resized I loose up yo 10meg of...
  4. practicalsoft

    B4X FEED Datetime BUG ?

    Datetime: DateTime.DateFormat="YYYY-MM-dd" Log (DateTime.DateParse( "2020-08-16")) Log (DateTime.DateParse( "2020-08-21")) The Log says : 2020-08-16 = 1577660400000 2020-08-21 = 1577660400000 both results are the same... ? ادامه مطلب...
  5. practicalsoft

    B4X FEED Data di oggi DateTime.Now errata

    Oggi, 5 agosto 2020, scrivo questo codice B4X: DateTime.DateFormat="dd/mm/yyyy" Dim DataOggi As Long = DateTime.Now Log("DATA: " & DateTime.Date(DataOggi)) Mi restituisce 05/02/2020.. Perchè mi dice che è febbraio? ادامه مطلب...
  6. practicalsoft

    B4X FEED String toSQL DateTime format

    Hi, is there any way to convert a date and time strings to a format acceptable to an SQL database holding it in DateTime type / format, i.e. I have two input fields Date and Time which the user can fill in, i.e. Date: 2020-07-27 and Time: 18:33 but I wish to save them to a MySql database which...
  7. practicalsoft

    B4X FEED [B4X] [XUI] DateTimePicker View

    DateTimePicker view is based on the CustomListView with a design similar to the ios datetime picker. This view has only been tested in B4A, it is not very useful in B4i since for ios the built-in picker is better. Add the module and layout to your project (attached files). You should not...
  8. practicalsoft

    B4X FEED Convert milliseconds to a date

    can anyone help me to add day,month and year to this sub: B4X: Sub ConvertMillisecondsToString(t As Long) As String Dim hours, minutes, seconds As Int hours = t / DateTime.TicksPerHour minutes = (t Mod DateTime.TicksPerHour) / DateTime.TicksPerMinute seconds = (t Mod...
عقب
بالا