Drupal 6: Date module and displaying only DATE value, without TIME - datetime

I'm a newbie drupal guy,
I use http://drupal.org/project/date module for my events date, but this module displays TIME as well as default, and I can't turn that off from configuration pages unless I'm a blind :/ is there any way to display only DATE value?
Appreciate helps!! thanks a lot!

You need to add a new date and time format that only specifies the date portion under Administer › Site configuration › Date and time › Formats › Add format (the relative path is /admin/settings/date-time/formats/add).
Here are a couple of popular date formats strings according to the PHP date format characters:
m/d/Y becomes 06/22/2010
l, F j, Y becomes Tuesday, June 22, 2010
You can either set one of the three default format types (i.e. long, medium, or short) to use your custom format or you can add a new format type. In either case, you would just need to specify the date field to use the format type that is set to your custom date format.

See Display multiple Date formats, along with Theme the Date and Example - Theme all-day events without a time for more information on this (while the last two links are targeting Drupal 5, they still apply for Drupal 6, AFAIK).

Related

2 return formats for ACF Time & Date Picker

I have a site build with several different variations of time and date throughout the site as well as a format needed for outputting to a calendar export file for Gmail/Outlook/iCal. I'd like to only use one field, the combo date and time picker, but I can't get it to work for all the custom formats. Is there any way to have more than one return format?
If I could have a Ymd and a Y/m/d H:i that would cover everything.

Wordpress Post Date, shows month by number and text

I am having troubles with my Worpress post date. As the picture shows, I can publish the post with 01-Jan etc. I only want to post the month with text, and no numbers. Any suggestions?
You mentioned in the comments that the date on the front end was displayed wrong. Therefore, I suggest you look at the PHP source that is creating that page.
It's possible that the date format has been explicitly set in there, especially if you are using a non-custom theme, so the format under 'Settings -> General' could be ignored.

Drupal CCK date field with just hours and minutes

How can I create a date field in Drupal just with hours and minutes without years and months?
You should be able to change the granularity when you create the cck field.
Jut select what you need from that Granularity options.
You can also just format the date by creating a new format:
Click on the date and time date format page and then create a new format that looks like this:
h:i
That's the time and date
Select that format for display.
You can go to the following site to see more Date format string options:
http://us3.php.net/manual/en/function.date.php
This should also help, http://drupal.org/node/134144#comment-1982750
how to add your own formats
set time only or set any php date setting you want

date and time settings dont show up properly in wordpress 2.8.6

I have some problems while making my own theme for wordpress. Currently I'm making a comment system that was updated in wordpress 2.7 (you now that one with treated comments).
I'm following the codex and everything is fine except the date-time output of each comment - now it is looking like this: %A %B %e%q, %Y at %I:%M %p . Instead of showing me the date and time of the comment.
I've checked my Date Format and Time Format settings in my admin panel and they seem to be set as needed (Date Format: 2009/11/13 and Time Format: 13:30). Maybe there is any parameter that should be passed to the wp _ list _ comments() function?
Look at the template that is displaying your comments. Going to guess that display of comment_date is not coded correctly.
The Date and Time Format in your control panel does NOT typically control how the theme displays date and time information.
Also see: Formatting Date and Time

Changing short date format in Ubuntu

How do I change the system-wide short date format in Ubuntu? For example, Thunderbird is showing dates in the DD/MM/YY format, and I would like to change it to MM/DD/YY or YYYY-MM-DD.
The best information I can find so far is in this thread:
http://ubuntuforums.org/showthread.php?t=193916
Edit: I want to change the system-wide date format, so that all my applications use this new date format.
Install and launch "dconf Editor", navigate to com -> canonical -> indicator -> datetime.
Set the value of time-format to custom.
Customize the Time & Date format by editing the value of custom-time-format, e.g. set it to %Y-%m-%d %H:%M:%S for "2017-12-31 23:59:59" format.
Re-login to see effect of the changes.
You can also do this via a command in terminal:
gsettings set com.canonical.indicator.datetime time-format 'custom'
gsettings set com.canonical.indicator.datetime custom-time-format '%Y-%m-%d %H:%M:%S'
Source: http://ubuntuhandbook.org/index.php/2015/12/time-date-format-ubuntu-panel/
How to do this in 2017 with Ubuntu 16.04 (Xenial Xerus) is described here. Cut/Paste follows below in case that site goes away:
Change date and measurement formats
You can control the formats that are used for dates, times, numbers, currency, and measurement to match the local customs of your region.
Click the icon at the very right of the menu bar and select System Settings.
Open Language Support and select the Regional Formats tab.
Select the region that most closely matches the formats you'd like to use. By default, the list only shows regions that use the language set on the Language tab.
You have to log out and back in for these changes to take effect.
Click the icon at the very right of the menu bar and select Log Out to log out.
After you've selected a region, the area below the list shows various examples of how dates and other values are shown. Although not shown in the examples, your region also controls the starting day of the week in calendars.
Thunderbird uses the system's date format, and that format depends on the system's locale settings. You have two options:
modify the system locale, the instructions are in the forum thread you linked above, or
set LC_TIME to a locale that uses the format you want. The article linked by Craig H suggests en_DK.
The instructions here worked for me to create a custom locale based on en_US. Then Thunderbird showed the date/time format how I want (I prefer YYYY-MM-DD over MM/DD/YY).
Some time later, the date/time format in Thunderbird changed back to what was set in en_US (MM/DD/YY), because I had inadvertently set $LC_ALL to en_US.UTF-8. So, I sudo gedit /etc/environment and changed LC_ALL="en_US.UTF-8" to LC_ALL="custom.UTF-8". Finally, Thunderbird is showing the dates how I want them.

Resources