date

  1. walterf25

    B4J Question ABMCalendar ABMaterial v5.12 BUG

    I added a calendar object with the default view to MONTH, for some reason when I click on any of the days the _DayClicked(date As String) does not fire up, below is the code where I initialize the object. DateTime.DateFormat = "yyyy-MM-dd" Log("today is: " & DateTime.Date(DateTime.Now))...
  2. LucaMs

    B4J Question [B4X] B4XTable and date fields

    I'm struggling quite a bit with this topic, date type fields in B4XTable. I finally 😓💦 think I understand what the problem is and I'm afraid I can't solve it. The aim would be to automatically read a date DB field (DATE, DATETIME, TIMESTAMP) and display it in a B4XTable column set as...
  3. A

    iOS Code Snippet PFDateTimePicker Scroll View iOS Library

    As Apple Store is not accepting Calendar Type DateTime Picker, So my first step towards ScrollView DateTime picker for iOS. PFDateTimePicker Author: Asad Version: 0.01 B4i.DependsOn=iXUI, iDateUtils, iCustomDialog PFDateTimePicker Events: SelectedDateChanged (Date As Long) Functions...
  4. Alexander Stolte

    B4A Library [B4X] [XUI] AS DatePickerTimeline

    Date Picker Library that provides a calendar as a horizontal timeline. This library is inspired by a Flutter library, but the B4X one is better ;) I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further...
  5. Artur2024

    Android Question Widget and Page for edit

    Hey :) I'm still studying. I used it Android Tutorial Widget Layout (Resizable, Adaptive) after modification, it displayed the number of days from the date (Widget_4x1.bas, line 21). By clicking on Label, I would like to change the date. I can't open the date change window. I need help with...
  6. Alexander Stolte

    [B4X] [XUI] [Old] AS CalendarAdvanced 📅 - OneRow/FiveRow Calendar - Expand and Collapse [Payware]

    This view was completely rewrite again https://www.b4x.com/android/forum/threads/b4x-xui-as-calendarexpandable%F0%9F%93%85-payware.146808/ Hey all, after almost a week of work and much frustration, I am proud to share with you a calendar view. The view is inspired on the calendar view in the...
  7. KMatle

    B4J Question Get display value via jPOI respecting locale

    I'm using this snippet to format an date cell to a real date: ub PoiGetFormattedCellValue(ExcelCell As PoiCell) As String Dim JOCell As JavaObject = ExcelCell Dim JODataFormatter As JavaObject Dim JOConditionalFormattingEvaluator As JavaObject Dim JOFormulaEvaluator As...
  8. K

    Android Question Error Using MaterialDateTimePicker

    Error Log: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/content/ContextCompat; at com.wdullaer.materialdatetimepicker.date.DatePickerDialog.onCreateView(DatePickerDialog.java:335) at android.app.Fragment.performCreateView(Fragment.java:2505) at...
  9. C

    Android Question Clarion date conversion

    Hi! I'm trying to convert a date from Clarion format (80328 02/12/2020) to a date in b4a. It's a kind of julian date, any ideas? Thanks in advance!
  10. amorosik

    B4J Question String to DatePicker field - how to convert string to DatePicker field ?

    On a B4Xpage we have two DatePicker field txtFromDate and txtToDate How to set these field from code, having a date like a string value? txtFromDate.DateTicks = ??? Wich function that return a DateTicks from a string (example "14/09/2020") ?
  11. M

    Android Question how to format date and time columns in B4XTable

    I work on the application, which should be used by Parkinson ill people to enter their good and bad times (on and off times). Ich have three columns in the sqlite database. In the first column the date is being saved, in the second one the time of the day. In the third the number should be...
  12. MegatenFreak

    B4J Library Persian Date Picker View (Independent from B4XView)

    Hi everybody. This is a Persian date picker I wrote. It doesn't use B4XView and has no special requirements. Displaying the date picker pop-up is done with code. It works as a ResumableSub. To use it: 1. simply add "PerPicker.bas" to your project; 2. Provide its main function with a parent node...
  13. J

    B4A Library DateTimePicker View

    DateTimePicker view is based on the CustomListView and snapCLV 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. 1. Add the module and layout to your project (attached...
  14. yaniv hanya

    Android Question hebrew date in android

    I need to merge to my app Hebrew date. do we have in b4a and Hebrew date library? like System.Globalization in visual studio? a good start point will be a lib that get Georgian date and return the day in Hebrew date...
  15. aeric

    Android Code Snippet [B4X] XUI Views - Time Dialog

    I want a better dialog for time input so I created this time (picker) dialog using B4X XUI Views and IME library. I think the code has too many lines. Hope someone can simplify or improve it. Note: I haven't tested but I think this code can also work for B4i and B4J. Update: I have tested with...
  16. K

    Android Question Edittext Date format

    I have to validate date format for edittext. Like dont accept wrong date. ex. 50/07/2018 == not accepted or 21/25/2018
  17. makis_best

    Other [Solved] Convert ticks to date

    Hi I read some dates from SQL Server.... and I save them to my SQLite database. The dates stored like that: /Date(1498856400000)/. Every record has a value like that. It is a correct format? I need to change it some how? After that I try to convert that value in my SQLite query but no luck...
  18. LucaMs

    Android Question AnotherDatePicker (B4X) error r/w to a Map

    I'm using a Map to save a date (long) selected with AnotherDatePicker. When I read the map I get "strange" error (set a breakpoint on line 67 - Dim lngDate...).
Top