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 628615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:39:22+00:00 2026-05-13T19:39:22+00:00

I added some users from an excel via a script to my drupal database.

  • 0

I added some users from an excel via a script to my drupal database. This works fine except for one thing, i use the profile module to store some information, one of them is the date of birth.

In my excel the date is stored like ’18/02/1995′ but in the database a date field has a format like this ‘a:3:{s:5:”month”;s:1:”2″;s:3:”day”;s:2:”18″;s:4:”year”;s:4:”1995″;}’
Of course the date’s all come out the wrong way in drupal. So i have to convert my date’s to drupal date’s.

So i would like to know what kind of format this is and is there a function to convert my date’s to this format?

(if it is in any way possible to do this in sql or excel that would even be more excellent)

  • 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-13T19:39:22+00:00Added an answer on May 13, 2026 at 7:39 pm

    You can use serialize:

    serialize(array('month' => '2', 'day' => '18', 'year' => '1995'));
    

    It will output:

    a:3:{s:5:"month";s:1:"2";s:3:"day";s:2:"18";s:4:"year";s:4:"1995";}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our app added functionality to allow users to import certain information from an excel
I need some additional functionality added to user_pass_submit. This must be added without changing
I added some custom products in virtuemart from my custom component and added its
I've added some buttons to an UIView (via addSubview) programmatically. However, they appear as
I have added some animation using jquery but it's not working: $('.test-container').click(function(){ $(this).css('background-color', 'rgb(119,
I've added some external jars to my CLASSPATH by adding this in config/application.rb :
I have a database tumblelog (using mongoengine) in which I added some data in
I am, from only some users, getting a InvalidAuthenticityToken exception. When I examine the
In some point of my website, it receives grades (notas in portuguese) from users
I added some columns to a table using rails and rake, but they do

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.