Skip to main content

Questions tagged [date-format]

`DateFormat` is a Java Standard Edition library class which provides utility methods to parse and format dates.

date-format
-1 votes
0 answers
48 views

How to format date using Velocity Template Language and DateTool?

I'm getting the following date field from database db_CREATION_DATE=2024-06-24T13:14:00.000+0300 Then I need to use this field in http request. A request body is formed as a Velocity template, used ...
gonzay's user avatar
  • 9
0 votes
0 answers
13 views

Telerik ASP.NET Core dateinput format in template not working

When I use DateInput as a component in a template and try to accept only the year part by setting the format to ("yyyy"), it doesn't work: Html.Kendo().Template().AddComponent(btn => btn ...
rara rarara's user avatar
-1 votes
4 answers
137 views

Change date format DatePickerDialog- Android studio Java

Does anyone know how to change the date format in DatePickerDialog in Android studio in Java, I need like "Mon, May 6" I need like this format instead of "M05 6, Mon"Image link . ...
Shiyaam's user avatar
  • 11
0 votes
1 answer
23 views

Odoo v15 Qweb Report Date_Format and configuration Adding more spaces (%m - %d - %Y)

i tried context_timestamp(datetime.datetime.(page['date'].)).strftime('%m - %d - %Y') but the maximum space is only 1 it will not fit on the bank check format which needs 2 spaces between numbers(&...
zzaren 009's user avatar
0 votes
1 answer
31 views

Yellowbrick DB DateTime to Date type-casting not showing only date format (YYYY-MM-DD)

I'm working in YelloBrick DB. I want to extract only Date value from DateTime value column. In this scenario generally we use query: CAST([dateTime_Value] as DATE) So, I'm type-casting from DateTime (...
Art Bindu's user avatar
  • 1,392
4 votes
1 answer
537 views

Is there a way to display a formatted date from NextUI's DatePicker and DateInput?

I'm using the NextUI library version 2.3.6. I'd like to use the DatePicker or the DateInput. However, the default format displayed is mm/dd/yyyy; I need to display the date in the following format: dd/...
R. Boutte's user avatar
  • 754
0 votes
1 answer
69 views

Spring @DateTimeFormat exception when reading POST parameters

I am sending this string representation of date Apr 15, 2024, 12:00:21 PM as a POST parameter. I am trying to read it into Spring MVC @RequestMapping method like below: public void updateRecord(@...
Monica Lavale's user avatar
0 votes
0 answers
34 views

Set the cell format in an excel sheet to the general date, without a specific format in python

I want to create an Excel sheet which contains dates. I dont want to specify the date format (like yyyy/mm/dd or the like), but I want Excel to display the dates based on the users locale. For example,...
Gargoyle's user avatar
0 votes
0 answers
50 views

Crash parsing date strings but only on some iOS devices

Most of the iPhone devices and actual users that I have are working fine. But when I check the crash log in Xcode, I get an error that string_date is nil on only some devices. Code_1 is a code that is ...
Ggyu's user avatar
  • 1
-1 votes
1 answer
129 views

change java.util.Date format [duplicate]

I have a form passing dates to my backend in CET format: EEE MMM dd HH:mm:ss zzz yyyy now I want to convert this Date in another one with the format yyyy-MM-dd I don't want a String, I want transform ...
CoderJammer's user avatar
0 votes
0 answers
31 views

JQuery Datepicker display date format

I have a working version of jQuery datepicker which is defaulted to today's date and display in below format, I needed to format the display date like below. How can I do it? Here is the JS code ...
Techie's user avatar
  • 83
0 votes
2 answers
81 views

MySQL STR_TO_DATE returns NULL when using week number directive (%U, %u, %V or %v)

NULL is being returned from STR_TO_DATE function when using the week number format directive (%U, %u, %V or %v) on MySQL 8.0.35. The official documentation indicates that STR_TO_DATE should be the ...
Hans's user avatar
  • 11
-2 votes
1 answer
58 views

converting date to new format not working using strtotime() [duplicate]

I have date format in my database like this '13/09/2022' but my client suggest to change this format into this format '09/13/2022' so I use strtotime() but instead of having correct result it give ...
jhunlio's user avatar
  • 2,640
0 votes
0 answers
31 views

d3js Dateformat: Hours, Minutes and Seconds incorrect

i have chart made with d3js( V7 ). It displays the Date correct but not the time. I get "2023-02-01 01:00:00" for new Date('2023-02-01 09:00:00') My Dateformat: d3.axisBottom( d3.scaleUtc()....
Jules's user avatar
  • 49
1 vote
1 answer
46 views

Trying to show only year from a date stored in mongodb database. How to do that?

I'm creating a website. Inside my server there's a mongoose model which saves different data in mongo database as like the date of birth. The date stored in ISODate format. But I want to use only the ...
thinkerSajjad's user avatar

15 30 50 per page
1
2 3 4 5
161