Sorry only first cup of coffee.  Datetime

On Thu, Aug 22, 2013 at 8:35 AM, James Harvey <[email protected]> wrote:

> Godaddy lists a datetime option, but no timedate?
>
> James E Harvey
> M.I.S.
> Hanover Shoe Farms, Inc.
> www.hanoverpa.com
> office: 717-637-8931
> cell: 717-887-2565
> fax: 717-637-6766
>
>
> -----Original Message-----
> From: ProFox [mailto:[email protected]] On Behalf Of Stephen
> Russell
> Sent: Thursday, August 22, 2013 9:29 AM
> To: ProFox Email List
> Subject: Re: [NF] smalldatetime default value function
>
> Don't use smalltimedate as a heads up.  convert the structure of the db
> today to regular timedate and your life will be much easier.
>
>
> On Thu, Aug 22, 2013 at 8:22 AM, James Harvey <[email protected]>
> wrote:
>
> > Trying to convert a default getdate() value in a MSSQL table into a
> > smalldatetime field.
> >
> > The goal is for the default value to be in the format "08/22/2013
> > 00:00:000 AM"
> >
> > The table is in a web site hosted by Godaddy.
> >
> > They have an interface allowing us to edit the field's data type and
> > allows us to enter a default value.
> >
> > We are using a data type of smalldatetime and tried the
> > "(CONVERT([smalldatetime],getdate(),(0)))", but it is still returning
> > data that has minutes, seconds, etc.
> >
> >
> >
> > James E Harvey
> > M.I.S.
> > Hanover Shoe Farms, Inc.
> > www.hanoverpa.com
> > office: 717-637-8931
> > cell: 717-887-2565
> > fax: 717-637-6766
> >
> >
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAJidMYKvw9n3V=WbH=bj8o6g-taazzxiwyijx-e5o2rqw0e...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to