<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Passing a Unix Timestamp to a form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/passing-a-unix-timestamp-to-a-form</link>
		<description>Gravity Support Forums Topic: Passing a Unix Timestamp to a form</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 08:26:17 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/passing-a-unix-timestamp-to-a-form" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "Passing a Unix Timestamp to a form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-a-unix-timestamp-to-a-form#post-51875</link>
			<pubDate>Fri, 09 Mar 2012 11:14:39 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">51875@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Right on!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cspenn on "Passing a Unix Timestamp to a form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-a-unix-timestamp-to-a-form#post-51871</link>
			<pubDate>Fri, 09 Mar 2012 10:35:06 +0000</pubDate>
			<dc:creator>cspenn</dc:creator>
			<guid isPermaLink="false">51871@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Working!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Passing a Unix Timestamp to a form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-a-unix-timestamp-to-a-form#post-51869</link>
			<pubDate>Fri, 09 Mar 2012 10:30:36 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">51869@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Instead of setting the value of the dynamic population in the form builder to: gform_field_value_timestamp&#60;/p&#62;
&#60;p&#62;Try setting it just to: timestamp&#60;/p&#62;
&#60;p&#62;and keep your function as-is.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cspenn on "Passing a Unix Timestamp to a form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-a-unix-timestamp-to-a-form#post-51868</link>
			<pubDate>Fri, 09 Mar 2012 10:27:02 +0000</pubDate>
			<dc:creator>cspenn</dc:creator>
			<guid isPermaLink="false">51868@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there. I'm trying to pass a UNIX timestamp to a form. From what I was reading, I can supposedly alter the value of a hidden field with the Gform field value $parameter name function. Here's what I wrote:&#60;/p&#62;
&#60;p&#62;In my theme functions.php:&#60;br /&#62;
add_filter(&#34;gform_field_value_timestamp&#34;, &#34;unixtime&#34;);&#60;br /&#62;
function unixtime($value){&#60;br /&#62;
return time();&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;In the form, the field named &#34;timestamp&#34; is hidden, the default value is blank, allow field to be populated dynamically is checked, and the value of the dynamic population is gform_field_value_timestamp.&#60;/p&#62;
&#60;p&#62;Problem is, it's not populating at all.&#60;/p&#62;
&#60;p&#62;What am I doing wrong?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
