Hi - I have a need to output the raw “join_date” variable for the logged-in member, shown in the original unix timestamp - not the date formatting.
I’ve played with {exp:query} but cannot get it to look for the join_date of the logged-in member. Ex code that doesn’t work:
{exp:query sql="SELECT join_date FROM exp_members WHERE username = '{logged_in_username}' "}
{join_date}
{/exp:query}This returns nothing, as it cannot read the variable {logged_in_username} inside the query tag.
Similarly, the {exp:member:custom_profile_data} will not give the join_date unless I specify a format—but I don’t need a format.
Any ideas how to render the raw join_date?