Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6081495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:10:55+00:00 2026-05-23T11:10:55+00:00

One of my content types has the field Date and time. When it was

  • 0

One of my content types has the field Date and time. When it was created the wrong settings were set and it is now not possible to change these because there’s data for the field saved in the database. The field is Date and time which makes it easier to pick date and time. How can I change these settings without having to make a new field with correct settings. Where can I find the settings in the database and manually change it? Screenshot of the settings i can’t change:
http://d.pr/MT3r

The problem is that the Time zone is set to Site’s time zone and somehow it doesn’t match with the time zone set in the Site configuration. I need to change this to “No time zone”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:10:56+00:00Added an answer on May 23, 2026 at 11:10 am

    Ended up using my own timezone conversion:

        $event_from_timezone = new DateTimeZone(date_default_timezone());
        $event_from_date = new DateTime($node->field_date['und'][0]['value'], $event_from_timezone);
        $event_from_offset = $event_from_timezone->getOffset($event_from_date);
        $event_from_datetime = date('Y-m-d H:i', $event_from_date->format('U') + $event_from_offset);
    

    Which works perfectly. Dunno why Drupal 7 couldn’t do this itself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to theme one of my content types, which has images uploaded to
Is it possible to use multiple header types in one document? For example: header(Content-type:
I've a content type which content some cck field. One of the field has
I want to create an event content type with one field Dates contains a
I have an Orchard cms module with some additional Content types set up and
I have a custom UserType which stores a date/time value in a TIMESTAMP field
I try to add lookup field in content type. Field has this definition: <Field
I'm getting exceptions when copying content type from one web to another: foreach (SPContentType
Is there a 'best practice' how to hide all except one content-DIV of an
Am using the strip_tags() to remove the HTML tags from one content . but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.