Porkie Posted September 11, 2009 Share Posted September 11, 2009 i have a form which allows me to add data to a database. Which shows up in my rss feed. the problem i have is that the date field in my database is meant to hold the date and time and show it up in my rss feed.What sort off line can i put in my form which will be rss complient and get me the time and date and put it into my date filed on my database. Currently the date comes up but the time just comes up at 00:00 Regards Quote Link to comment https://forums.phpfreaks.com/topic/173960-rss-feed-setting-time/ Share on other sites More sharing options...
RussellReal Posted September 12, 2009 Share Posted September 12, 2009 make the field a timestamp and then make the row show the current timestamp (I usually use phpmyadmin.. makes the process alot easier) then when you pull it use php's date to show the correct date from the timestamp Quote Link to comment https://forums.phpfreaks.com/topic/173960-rss-feed-setting-time/#findComment-917020 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.