---
title: "tid"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/73481-tid"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "DiDjo"
published: "2003-04-07T18:23:27.000Z"
updated: "2003-04-07T18:42:03.000Z"
replies: 8
views: 337
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/asp/73481-tid"
---

# tid

## #1 — DiDjo, 2003-04-07T18:23Z

tja! Fick denna kod förut på wf... 

```
 <%tid = rs("datum")
                Response.Write day(tid) &"-"&month(tid)&" "&FormatDateTime(tid, 4) %>
```

den skriver ut datumet så här: 7-4 20:00
Kan man inte snygga till det lite?
typ: 07-04 kl 20:00
??
Eller:
"Måndagen" den 7 april kl 20:00

Permalänk: https://www.webforum.nu/p/73481

## #2 — eTeRnAl, 2003-04-07T18:27Z

```
<%=WeekDayName(Now)%> den <%tid = rs("datum")
                Response.Write day(tid) &"-"&month(tid)&" kl "&FormatDateTime(tid, 4) %>
```

otestat, dock så tror jag det skulle fungera så :)

Permalänk: https://www.webforum.nu/p/1002855

## #3 — Engine^, 2003-04-07T18:29Z

[FormatDateTime](http://www.devguru.com/Technologies/vbscript/quickref/formatdatetime.html)

```
<%
  Response.Write FormatDateTime(rs("datum"), 1
%>
```

Permalänk: https://www.webforum.nu/p/1002856

## #4 — DiDjo, 2003-04-07T18:33Z

Microsoft VBScript runtime error '800a0005' 

Invalid procedure call or argument: 'WeekDayName' 

/!egna/gastbok.asp, line 158
på din eTeRnAl

Permalänk: https://www.webforum.nu/p/1002861

## #5 — DiDjo, 2003-04-07T18:35Z

på din Engine^

```
Microsoft VBScript compilation error '800a03ee' 

Expected ')' 

/!egna/gastbok.asp, line 159 

Response.Write FormatDateTime(rs("datum"), 1
--------------------------------------------^
```

Permalänk: https://www.webforum.nu/p/1002863

## #6 — Sebbe, 2003-04-07T18:36Z

```
<%
Session.LCID = 1053
Response.Write(FormatDateTime(rs("datum"), vbLongDate))
%>
```

Borde funka.

Permalänk: https://www.webforum.nu/p/1002864

## #7 — DiDjo, 2003-04-07T18:38Z

men tiden da? Hur skriver jag ut vilken tid det va?

Permalänk: https://www.webforum.nu/p/1002866

## #8 — Sebbe, 2003-04-07T18:39Z

```
<%
Session.LCID = 1053
Response.Write(FormatDateTime(rs("datum"), vbLongDate) & " kl. " & Hour(rs("datum")) & ":" & Minute(rs("datum")))
%>
```

Permalänk: https://www.webforum.nu/p/1002868

## #9 — DiDjo, 2003-04-07T18:42Z

tackar tackar! :birp

Permalänk: https://www.webforum.nu/p/1002872

---

Tråden på webben: https://www.webforum.nu/amne/asp/73481-tid
