Jump to content
  • Revista PROGRAMAR: Já está disponível a edição #60 da revista programar. Faz já o download aqui!

Sign in to follow this  
cristpate

Comando Datatime

Recommended Posts

cristpate

eu tenho uma duvida simples mas que esta me dar dor de cabeça

e acerca do tipo de dado datatime, eu tenho um formulario e gostaria que ele preenchece automaticamente o campo datatime

fazer com que ele preencha a data ou o tempo automaticamente eu consigo fazer com os comandos:

CURDATE() e CURTIME() respectivamente

mas para o datatime nao estou a conseguir

deem me um help.


craziness it's to do the same thing over and over again expecting a different result

Share this post


Link to post
Share on other sites
n3lThon

Que sistema de base de dados estás a usar?


dreams.each do |dream|

   dream.make_it_happen

end

Share this post


Link to post
Share on other sites
cristpate

desculpa nao ter dito antes mas o sistema de base de dados que estou a utilizar e o

mysql server com a linguagem php


craziness it's to do the same thing over and over again expecting a different result

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.