Closed (outdated)
Project:
Computed Field
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
22 Apr 2009 at 12:00 UTC
Updated:
29 Dec 2018 at 12:51 UTC
Jump to comment: Most recent
Comments
Comment #1
tommytom commentedis it possible or do I have to use Content Profile module that build user profiles as normal nodes.
Comment #2
tommytom commentedfor example I'm trying to calculate and display the age of an user with this code:
but I always get the value "2009", so I think this is wrong:
($account->profile_birthdate['year'])the date in the database is stored in this format: a:3:{s:5:"month";s:2:"12";s:3:"day";s:2:"28";s:4:"year";s:4:"1985";}
I found the code from this article: http://drupal.org/node/45763
Can somebody help me ?
Comment #3
tommytom commentedI solved the issue with this code:
Comment #4
mmjvb commented